home *** CD-ROM | disk | FTP | other *** search
/ Game.EXE 2004 July / My Disc.iso / patch / UT2004 / ut2004-winpatch3236.exe / UT2004-Patch / System / Bonuspack.u / C_xMutantGame_ScriptText.TextBuffer < prev    next >
Unknown  |  2004-06-11  |  20.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 70 c9 02 2f 2f 20 3d 3d |........|p..// ==|
|00000010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000040| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000050| 3d 3d 0d 0a 2f 2f 20 20 | 43 6c 61 73 73 3a 20 42 |==..// |Class: B|
|00000060| 6f 6e 75 73 50 61 63 6b | 2e 78 4d 75 74 61 6e 74 |onusPack|.xMutant|
|00000070| 47 61 6d 65 0d 0a 2f 2f | 0d 0a 2f 2f 20 20 4d 61 |Game..//|..// Ma|
|00000080| 69 6e 20 27 4d 75 74 61 | 6e 74 27 20 67 61 6d 65 |in 'Muta|nt' game|
|00000090| 20 74 79 70 65 20 74 61 | 62 2e 20 42 61 73 69 63 | type ta|b. Basic|
|000000a0| 20 69 64 65 61 3a 0d 0a | 2f 2f 20 20 2d 20 57 68 | idea:..|// - Wh|
|000000b0| 65 6e 20 74 68 65 72 65 | 20 69 73 20 6e 6f 20 65 |en there| is no e|
|000000c0| 78 69 73 74 69 6e 67 20 | 6d 75 74 61 6e 74 2c 20 |xisting |mutant, |
|000000d0| 66 69 72 73 74 20 62 6c | 6f 6f 64 20 6d 75 74 61 |first bl|ood muta|
|000000e0| 74 65 73 2e 0d 0a 2f 2f | 20 20 2d 20 45 76 65 72 |tes...//| - Ever|
|000000f0| 79 6f 6e 65 20 65 6c 73 | 65 20 6d 75 73 74 20 68 |yone els|e must h|
|00000100| 75 6e 74 20 64 6f 77 6e | 20 74 68 65 20 6d 75 74 |unt down| the mut|
|00000110| 61 6e 74 20 2d 20 79 6f | 75 20 63 61 6e 27 74 20 |ant - yo|u can't |
|00000120| 6b 69 6c 6c 20 65 61 63 | 68 20 6f 74 68 65 72 2e |kill eac|h other.|
|00000130| 20 59 6f 75 20 67 65 74 | 20 61 20 72 61 64 61 72 | You get| a radar|
|00000140| 20 74 6f 20 66 69 6e 64 | 20 74 68 65 6d 2e 0d 0a | to find| them...|
|00000150| 2f 2f 20 20 2d 20 49 66 | 20 79 6f 75 20 6b 69 6c |// - If| you kil|
|00000160| 6c 20 74 68 65 20 6d 75 | 74 61 6e 74 2c 20 79 6f |l the mu|tant, yo|
|00000170| 75 20 6d 75 74 61 74 65 | 2e 0d 0a 2f 2f 20 20 2d |u mutate|...// -|
|00000180| 20 4d 75 74 61 6e 74 20 | 67 65 74 73 20 69 6e 76 | Mutant |gets inv|
|00000190| 69 73 69 62 69 6c 69 74 | 79 2c 20 61 67 69 6c 69 |isibilit|y, agili|
|000001a0| 74 79 20 61 6e 64 20 72 | 65 67 65 6e 20 62 61 73 |ty and r|egen bas|
|000001b0| 65 64 20 6f 6e 20 6e 75 | 6d 62 65 72 20 6f 66 20 |ed on nu|mber of |
|000001c0| 6f 74 68 65 72 20 70 6c | 61 79 65 72 73 2e 0d 0a |other pl|ayers...|
|000001d0| 2f 2f 0d 0a 2f 2f 20 20 | 57 72 69 74 74 65 6e 20 |//..// |Written |
|000001e0| 62 79 20 4a 61 6d 65 73 | 20 47 6f 6c 64 69 6e 67 |by James| Golding|
|000001f0| 0d 0a 2f 2f 20 20 28 63 | 29 20 32 30 30 32 2c 20 |..// (c|) 2002, |
|00000200| 45 70 69 63 20 47 61 6d | 65 73 2c 20 49 6e 63 2e |Epic Gam|es, Inc.|
|00000210| 20 20 41 6c 6c 20 52 69 | 67 68 74 73 20 52 65 73 | All Ri|ghts Res|
|00000220| 65 72 76 65 64 0d 0a 2f | 2f 20 3d 3d 3d 3d 3d 3d |erved../|/ ======|
|00000230| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000240| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000250| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000260| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 0d 0a |========|======..|
|00000270| 0d 0a 23 65 78 65 63 20 | 4f 42 4a 20 4c 4f 41 44 |..#exec |OBJ LOAD|
|00000280| 20 46 49 4c 45 3d 58 47 | 61 6d 65 53 68 61 64 65 | FILE=XG|ameShade|
|00000290| 72 73 2e 75 74 78 0d 0a | 23 65 78 65 63 20 4f 42 |rs.utx..|#exec OB|
|000002a0| 4a 20 4c 4f 41 44 20 46 | 49 4c 45 3d 4d 75 74 61 |J LOAD F|ILE=Muta|
|000002b0| 6e 74 53 6b 69 6e 73 2e | 75 74 78 0d 0a 23 65 78 |ntSkins.|utx..#ex|
|000002c0| 65 63 20 4f 42 4a 20 4c | 4f 41 44 20 46 49 4c 45 |ec OBJ L|OAD FILE|
|000002d0| 3d 49 6e 74 65 72 66 61 | 63 65 43 6f 6e 74 65 6e |=Interfa|ceConten|
|000002e0| 74 2e 75 74 78 0d 0a 0d | 0a 63 6c 61 73 73 20 78 |t.utx...|.class x|
|000002f0| 4d 75 74 61 6e 74 47 61 | 6d 65 20 65 78 74 65 6e |MutantGa|me exten|
|00000300| 64 73 20 78 44 65 61 74 | 68 4d 61 74 63 68 3b 0d |ds xDeat|hMatch;.|
|00000310| 0a 0d 0a 2f 2f 20 53 65 | 74 74 69 6e 67 73 0d 0a |...// Se|ttings..|
|00000320| 76 61 72 28 29 09 4d 61 | 74 65 72 69 61 6c 09 09 |var().Ma|terial..|
|00000330| 09 09 4d 75 74 61 6e 74 | 4d 61 74 65 72 69 61 6c |..Mutant|Material|
|00000340| 3b 0d 0a 0d 0a 2f 2f 20 | 49 6e 74 65 72 6e 61 6c |;....// |Internal|
|00000350| 0d 0a 76 61 72 09 09 43 | 6f 6e 74 72 6f 6c 6c 65 |..var..C|ontrolle|
|00000360| 72 09 09 09 09 43 75 72 | 72 65 6e 74 4d 75 74 61 |r....Cur|rentMuta|
|00000370| 6e 74 3b 0d 0a 76 61 72 | 09 09 43 6f 6e 74 72 6f |nt;..var|..Contro|
|00000380| 6c 6c 65 72 09 09 09 09 | 43 75 72 72 65 6e 74 42 |ller....|CurrentB|
|00000390| 6f 74 74 6f 6d 46 65 65 | 64 65 72 3b 0d 0a 76 61 |ottomFee|der;..va|
|000003a0| 72 09 09 66 6c 6f 61 74 | 09 09 09 09 09 52 65 67 |r..float|.....Reg|
|000003b0| 65 6e 54 69 6d 65 43 61 | 72 72 79 4f 76 65 72 3b |enTimeCa|rryOver;|
|000003c0| 0d 0a 0d 0a 76 61 72 28 | 29 09 66 6c 6f 61 74 09 |....var(|).float.|
|000003d0| 09 09 09 09 44 65 67 65 | 6e 49 6e 74 65 72 76 61 |....Dege|nInterva|
|000003e0| 6c 3b 0d 0a 2f 2f 76 61 | 72 28 29 09 49 6e 74 65 |l;..//va|r().Inte|
|000003f0| 72 70 43 75 72 76 65 09 | 09 09 09 52 65 67 65 6e |rpCurve.|...Regen|
|00000400| 52 61 74 65 3b 20 2f 2f | 20 48 65 61 6c 74 68 20 |Rate; //| Health |
|00000410| 6d 75 74 61 6e 74 20 67 | 65 74 73 20 65 61 63 68 |mutant g|ets each|
|00000420| 20 73 65 63 6f 6e 64 20 | 61 73 20 61 20 66 75 6e | second |as a fun|
|00000430| 63 74 69 6f 6e 20 6f 66 | 20 6f 74 68 65 72 20 70 |ction of| other p|
|00000440| 6c 61 79 65 72 73 0d 0a | 76 61 72 28 29 09 69 6e |layers..|var().in|
|00000450| 74 09 09 09 09 09 09 4d | 75 6c 74 69 4b 69 6c 6c |t......M|ultiKill|
|00000460| 42 6f 6e 75 73 3b 20 2f | 2f 20 41 64 64 69 74 69 |Bonus; /|/ Additi|
|00000470| 6f 6e 61 6c 20 70 6f 69 | 6e 74 73 20 66 6f 72 20 |onal poi|nts for |
|00000480| 65 61 63 68 20 6c 65 76 | 65 6c 20 6f 66 20 6d 75 |each lev|el of mu|
|00000490| 6c 74 69 2d 6b 69 6c 6c | 0d 0a 76 61 72 28 29 09 |lti-kill|..var().|
|000004a0| 69 6e 74 09 09 09 09 09 | 09 42 61 73 65 4b 69 6c |int.....|.BaseKil|
|000004b0| 6c 53 63 6f 72 65 3b 20 | 2f 2f 20 42 61 73 69 63 |lScore; |// Basic|
|000004c0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 70 6f 69 6e 74 | number |of point|
|000004d0| 73 20 66 6f 72 20 61 20 | 6b 69 6c 6c 0d 0a 76 61 |s for a |kill..va|
|000004e0| 72 28 29 09 69 6e 74 09 | 09 09 09 09 09 4d 75 74 |r().int.|.....Mut|
|000004f0| 61 6e 74 53 75 69 63 69 | 64 65 50 65 6e 61 6c 74 |antSuici|dePenalt|
|00000500| 79 3b 20 2f 2f 20 57 68 | 65 6e 20 74 68 65 20 6d |y; // Wh|en the m|
|00000510| 75 74 61 6e 74 20 73 75 | 69 63 69 64 65 73 2c 20 |utant su|icides, |
|00000520| 6e 75 6d 62 65 72 20 6f | 66 20 70 6f 69 6e 74 73 |number o|f points|
|00000530| 20 74 68 65 79 20 6c 6f | 73 65 0d 0a 76 61 72 28 | they lo|se..var(|
|00000540| 29 09 69 6e 74 09 09 09 | 09 09 09 4d 61 78 4d 75 |).int...|...MaxMu|
|00000550| 6c 74 69 4b 69 6c 6c 53 | 63 6f 72 65 3b 20 2f 2f |ltiKillS|core; //|
|00000560| 20 43 61 70 20 6f 6e 20 | 6d 75 6c 74 69 2d 6b 69 | Cap on |multi-ki|
|00000570| 6c 6c 20 73 63 6f 72 65 | 0d 0a 76 61 72 28 29 09 |ll score|..var().|
|00000580| 69 6e 74 20 09 09 09 09 | 09 4d 75 74 61 6e 74 4b |int ....|.MutantK|
|00000590| 69 6c 6c 48 65 61 6c 74 | 68 42 6f 6e 75 73 3b 20 |illHealt|hBonus; |
|000005a0| 2f 2f 20 48 65 61 6c 74 | 68 20 74 68 65 20 6d 75 |// Healt|h the mu|
|000005b0| 74 61 6e 74 20 67 65 74 | 73 20 66 6f 72 20 6b 69 |tant get|s for ki|
|000005c0| 6c 6c 69 6e 67 20 73 6f | 6d 65 6f 6e 65 0d 0a 76 |lling so|meone..v|
|000005d0| 61 72 28 29 09 69 6e 74 | 09 09 09 09 09 09 42 6f |ar().int|......Bo|
|000005e0| 74 74 6f 6d 46 65 65 64 | 65 72 4b 69 6c 6c 53 63 |ttomFeed|erKillSc|
|000005f0| 6f 72 65 3b 20 2f 2f 20 | 50 6f 69 6e 74 73 20 74 |ore; // |Points t|
|00000600| 68 65 20 6d 75 74 61 6e | 74 20 67 65 74 73 20 66 |he mutan|t gets f|
|00000610| 6f 72 20 6b 69 6c 6c 69 | 6e 67 20 74 68 65 20 62 |or killi|ng the b|
|00000620| 6f 74 74 6f 6d 20 66 65 | 65 64 65 72 0d 0a 0d 0a |ottom fe|eder....|
|00000630| 76 61 72 28 29 09 63 6f | 6e 66 69 67 20 62 6f 6f |var().co|nfig boo|
|00000640| 6c 09 09 09 09 62 45 6e | 61 62 6c 65 42 6f 74 74 |l....bEn|ableBott|
|00000650| 6f 6d 46 65 65 64 65 72 | 3b 0d 0a 0d 0a 76 61 72 |omFeeder|;....var|
|00000660| 20 6c 6f 63 61 6c 69 7a | 65 64 20 73 74 72 69 6e | localiz|ed strin|
|00000670| 67 09 4d 75 74 50 72 6f | 70 54 65 78 74 3b 0d 0a |g.MutPro|pText;..|
|00000680| 76 61 72 20 6c 6f 63 61 | 6c 69 7a 65 64 20 73 74 |var loca|lized st|
|00000690| 72 69 6e 67 09 4d 75 74 | 44 65 73 63 54 65 78 74 |ring.Mut|DescText|
|000006a0| 3b 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 62 6f |;....fun|ction bo|
|000006b0| 6f 6c 20 57 61 6e 74 73 | 50 69 63 6b 75 70 73 28 |ol Wants|Pickups(|
|000006c0| 62 6f 74 20 42 29 0d 0a | 7b 0d 0a 09 72 65 74 75 |bot B)..|{...retu|
|000006d0| 72 6e 20 28 42 20 21 3d | 20 43 75 72 72 65 6e 74 |rn (B !=| Current|
|000006e0| 4d 75 74 61 6e 74 29 3b | 0d 0a 7d 0d 0a 0d 0a 73 |Mutant);|..}....s|
|000006f0| 74 61 74 69 63 20 66 75 | 6e 63 74 69 6f 6e 20 50 |tatic fu|nction P|
|00000700| 72 65 63 61 63 68 65 47 | 61 6d 65 54 65 78 74 75 |recacheG|ameTextu|
|00000710| 72 65 73 28 4c 65 76 65 | 6c 49 6e 66 6f 20 6d 79 |res(Leve|lInfo my|
|00000720| 4c 65 76 65 6c 29 0d 0a | 7b 0d 0a 09 53 75 70 65 |Level)..|{...Supe|
|00000730| 72 2e 50 72 65 63 61 63 | 68 65 47 61 6d 65 54 65 |r.Precac|heGameTe|
|00000740| 78 74 75 72 65 73 28 6d | 79 4c 65 76 65 6c 29 3b |xtures(m|yLevel);|
|00000750| 0d 0a 0d 0a 09 6d 79 4c | 65 76 65 6c 2e 41 64 64 |.....myL|evel.Add|
|00000760| 50 72 65 63 61 63 68 65 | 4d 61 74 65 72 69 61 6c |Precache|Material|
|00000770| 28 63 6c 61 73 73 27 48 | 55 44 4d 75 74 61 6e 74 |(class'H|UDMutant|
|00000780| 27 2e 64 65 66 61 75 6c | 74 2e 42 6f 74 74 6f 6d |'.defaul|t.Bottom|
|00000790| 46 65 65 64 65 72 49 63 | 6f 6e 29 3b 0d 0a 09 6d |FeederIc|on);...m|
|000007a0| 79 4c 65 76 65 6c 2e 41 | 64 64 50 72 65 63 61 63 |yLevel.A|ddPrecac|
|000007b0| 68 65 4d 61 74 65 72 69 | 61 6c 28 4d 61 74 65 72 |heMateri|al(Mater|
|000007c0| 69 61 6c 27 4d 75 74 61 | 6e 74 53 6b 69 6e 73 2e |ial'Muta|ntSkins.|
|000007d0| 43 65 6c 6c 75 6c 61 72 | 5f 30 27 29 3b 0d 0a 09 |Cellular|_0');...|
|000007e0| 6d 79 4c 65 76 65 6c 2e | 41 64 64 50 72 65 63 61 |myLevel.|AddPreca|
|000007f0| 63 68 65 4d 61 74 65 72 | 69 61 6c 28 4d 61 74 65 |cheMater|ial(Mate|
|00000800| 72 69 61 6c 27 54 65 61 | 6d 53 79 6d 62 6f 6c 73 |rial'Tea|mSymbols|
|00000810| 2e 54 65 61 6d 42 65 61 | 63 6f 6e 54 27 29 3b 0d |.TeamBea|conT');.|
|00000820| 0a 09 6d 79 4c 65 76 65 | 6c 2e 41 64 64 50 72 65 |..myLeve|l.AddPre|
|00000830| 63 61 63 68 65 4d 61 74 | 65 72 69 61 6c 28 4d 61 |cacheMat|erial(Ma|
|00000840| 74 65 72 69 61 6c 27 49 | 6e 74 65 72 66 61 63 65 |terial'I|nterface|
|00000850| 43 6f 6e 74 65 6e 74 2e | 42 6f 72 64 65 72 42 6f |Content.|BorderBo|
|00000860| 78 44 27 29 3b 0d 0a 7d | 0d 0a 0d 0a 73 74 61 74 |xD');..}|....stat|
|00000870| 69 63 20 66 75 6e 63 74 | 69 6f 6e 20 50 72 65 63 |ic funct|ion Prec|
|00000880| 61 63 68 65 47 61 6d 65 | 41 6e 6e 6f 75 6e 63 65 |acheGame|Announce|
|00000890| 6d 65 6e 74 73 28 41 6e | 6e 6f 75 6e 63 65 72 56 |ments(An|nouncerV|
|000008a0| 6f 69 63 65 20 56 2c 20 | 62 6f 6f 6c 20 62 52 65 |oice V, |bool bRe|
|000008b0| 77 61 72 64 53 6f 75 6e | 64 73 29 0d 0a 7b 0d 0a |wardSoun|ds)..{..|
|000008c0| 09 53 75 70 65 72 2e 50 | 72 65 63 61 63 68 65 47 |.Super.P|recacheG|
|000008d0| 61 6d 65 41 6e 6e 6f 75 | 6e 63 65 6d 65 6e 74 73 |ameAnnou|ncements|
|000008e0| 28 56 2c 62 52 65 77 61 | 72 64 53 6f 75 6e 64 73 |(V,bRewa|rdSounds|
|000008f0| 29 3b 0d 0a 09 69 66 20 | 28 20 21 62 52 65 77 61 |);...if |( !bRewa|
|00000900| 72 64 53 6f 75 6e 64 73 | 20 29 0d 0a 09 7b 0d 0a |rdSounds| )...{..|
|00000910| 09 09 56 2e 50 72 65 63 | 61 63 68 65 53 6f 75 6e |..V.Prec|acheSoun|
|00000920| 64 28 27 79 6f 75 5f 68 | 61 76 65 5f 6d 75 74 61 |d('you_h|ave_muta|
|00000930| 74 65 64 27 29 3b 0d 0a | 09 09 56 2e 50 72 65 63 |ted');..|..V.Prec|
|00000940| 61 63 68 65 53 6f 75 6e | 64 28 27 6e 65 77 5f 6d |acheSoun|d('new_m|
|00000950| 75 74 61 6e 74 27 29 3b | 0d 0a 09 09 56 2e 50 72 |utant');|....V.Pr|
|00000960| 65 63 61 63 68 65 53 6f | 75 6e 64 28 27 62 6f 74 |ecacheSo|und('bot|
|00000970| 74 6f 6d 5f 66 65 65 64 | 65 72 27 29 3b 0d 0a 09 |tom_feed|er');...|
|00000980| 7d 0d 0a 7d 0d 0a 0d 0a | 2f 2a 20 4f 42 53 4f 4c |}..}....|/* OBSOL|
|00000990| 45 54 45 20 55 70 64 61 | 74 65 41 6e 6e 6f 75 6e |ETE Upda|teAnnoun|
|000009a0| 63 65 6d 65 6e 74 73 28 | 29 20 2d 20 70 72 65 6c |cements(|) - prel|
|000009b0| 6f 61 64 20 61 6c 6c 20 | 61 6e 6e 6f 75 6e 63 65 |oad all |announce|
|000009c0| 72 20 70 68 72 61 73 65 | 73 20 75 73 65 64 20 62 |r phrase|s used b|
|000009d0| 79 20 74 68 69 73 20 61 | 63 74 6f 72 20 2a 2f 0d |y this a|ctor */.|
|000009e0| 0a 73 69 6d 75 6c 61 74 | 65 64 20 66 75 6e 63 74 |.simulat|ed funct|
|000009f0| 69 6f 6e 20 55 70 64 61 | 74 65 41 6e 6e 6f 75 6e |ion Upda|teAnnoun|
|00000a00| 63 65 6d 65 6e 74 73 28 | 29 20 7b 7d 0d 0a 0d 0a |cements(|) {}....|
|00000a10| 65 76 65 6e 74 20 54 69 | 63 6b 28 66 6c 6f 61 74 |event Ti|ck(float|
|00000a20| 20 64 65 6c 74 61 53 65 | 63 6f 6e 64 73 29 0d 0a | deltaSe|conds)..|
|00000a30| 7b 0d 0a 09 6c 6f 63 61 | 6c 20 78 4d 75 74 61 6e |{...loca|l xMutan|
|00000a40| 74 50 61 77 6e 20 70 3b | 0d 0a 0d 0a 09 53 75 70 |tPawn p;|.....Sup|
|00000a50| 65 72 2e 54 69 63 6b 28 | 64 65 6c 74 61 53 65 63 |er.Tick(|deltaSec|
|00000a60| 6f 6e 64 73 29 3b 0d 0a | 0d 0a 09 69 66 28 43 75 |onds);..|...if(Cu|
|00000a70| 72 72 65 6e 74 4d 75 74 | 61 6e 74 20 3d 3d 20 4e |rrentMut|ant == N|
|00000a80| 6f 6e 65 29 0d 0a 09 09 | 72 65 74 75 72 6e 3b 0d |one)....|return;.|
|00000a90| 0a 0d 0a 09 70 20 3d 20 | 78 4d 75 74 61 6e 74 50 |....p = |xMutantP|
|00000aa0| 61 77 6e 28 43 75 72 72 | 65 6e 74 4d 75 74 61 6e |awn(Curr|entMutan|
|00000ab0| 74 2e 50 61 77 6e 29 3b | 0d 0a 0d 0a 09 2f 2f 20 |t.Pawn);|.....// |
|00000ac0| 52 65 67 65 6e 72 61 74 | 65 20 74 68 65 20 4d 75 |Regenrat|e the Mu|
|00000ad0| 74 61 6e 74 0d 0a 09 52 | 65 67 65 6e 54 69 6d 65 |tant...R|egenTime|
|00000ae0| 43 61 72 72 79 4f 76 65 | 72 20 2b 3d 20 64 65 6c |CarryOve|r += del|
|00000af0| 74 61 53 65 63 6f 6e 64 | 73 3b 0d 0a 09 77 68 69 |taSecond|s;...whi|
|00000b00| 6c 65 28 52 65 67 65 6e | 54 69 6d 65 43 61 72 72 |le(Regen|TimeCarr|
|00000b10| 79 4f 76 65 72 20 3e 20 | 44 65 67 65 6e 49 6e 74 |yOver > |DegenInt|
|00000b20| 65 72 76 61 6c 29 0d 0a | 09 7b 0d 0a 09 09 70 2e |erval)..|.{....p.|
|00000b30| 4d 75 74 61 6e 74 44 61 | 6d 61 67 65 28 29 3b 0d |MutantDa|mage();.|
|00000b40| 0a 0d 0a 09 09 52 65 67 | 65 6e 54 69 6d 65 43 61 |.....Reg|enTimeCa|
|00000b50| 72 72 79 4f 76 65 72 20 | 2d 3d 20 44 65 67 65 6e |rryOver |-= Degen|
|00000b60| 49 6e 74 65 72 76 61 6c | 3b 0d 0a 09 7d 0d 0a 7d |Interval|;...}..}|
|00000b70| 0d 0a 0d 0a 2f 2f 20 50 | 61 72 73 65 20 6f 70 74 |....// P|arse opt|
|00000b80| 69 6f 6e 73 20 66 6f 72 | 20 74 68 69 73 20 67 61 |ions for| this ga|
|00000b90| 6d 65 20 74 79 70 65 0d | 0a 65 76 65 6e 74 20 49 |me type.|.event I|
|00000ba0| 6e 69 74 47 61 6d 65 28 | 20 73 74 72 69 6e 67 20 |nitGame(| string |
|00000bb0| 4f 70 74 69 6f 6e 73 2c | 20 6f 75 74 20 73 74 72 |Options,| out str|
|00000bc0| 69 6e 67 20 45 72 72 6f | 72 20 29 0d 0a 7b 0d 0a |ing Erro|r )..{..|
|00000bd0| 09 6c 6f 63 61 6c 20 73 | 74 72 69 6e 67 20 49 6e |.local s|tring In|
|00000be0| 4f 70 74 3b 0d 0a 0d 0a | 09 53 75 70 65 72 2e 49 |Opt;....|.Super.I|
|00000bf0| 6e 69 74 47 61 6d 65 28 | 4f 70 74 69 6f 6e 73 2c |nitGame(|Options,|
|00000c00| 20 45 72 72 6f 72 29 3b | 0d 0a 0d 0a 09 2f 2f 20 | Error);|.....// |
|00000c10| 53 68 6f 75 6c 64 20 77 | 65 20 65 6e 61 62 6c 65 |Should w|e enable|
|00000c20| 20 62 6f 74 74 6f 6d 20 | 66 65 65 64 65 72 73 0d | bottom |feeders.|
|00000c30| 0a 09 49 6e 4f 70 74 20 | 3d 20 50 61 72 73 65 4f |..InOpt |= ParseO|
|00000c40| 70 74 69 6f 6e 28 20 4f | 70 74 69 6f 6e 73 2c 20 |ption( O|ptions, |
|00000c50| 22 42 6f 74 74 6f 6d 46 | 65 65 64 65 72 22 29 3b |"BottomF|eeder");|
|00000c60| 0d 0a 09 69 66 28 49 6e | 4f 70 74 20 21 3d 20 22 |...if(In|Opt != "|
|00000c70| 22 29 0d 0a 09 7b 0d 0a | 20 20 20 20 20 20 20 20 |")...{..| |
|00000c80| 6c 6f 67 28 22 42 6f 74 | 74 6f 6d 46 65 65 64 65 |log("Bot|tomFeede|
|00000c90| 72 3a 20 22 24 62 6f 6f | 6c 28 49 6e 4f 70 74 29 |r: "$boo|l(InOpt)|
|00000ca0| 29 3b 0d 0a 09 09 62 45 | 6e 61 62 6c 65 42 6f 74 |);....bE|nableBot|
|00000cb0| 74 6f 6d 46 65 65 64 65 | 72 3d 62 6f 6f 6c 28 49 |tomFeede|r=bool(I|
|00000cc0| 6e 4f 70 74 29 3b 0d 0a | 09 7d 0d 0a 7d 0d 0a 0d |nOpt);..|.}..}...|
|00000cd0| 0a 66 75 6e 63 74 69 6f | 6e 20 69 6e 74 20 43 6f |.functio|n int Co|
|00000ce0| 6d 70 61 72 65 50 52 49 | 28 50 6c 61 79 65 72 52 |mparePRI|(PlayerR|
|00000cf0| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 20 50 |eplicati|onInfo P|
|00000d00| 52 49 31 2c 20 50 6c 61 | 79 65 72 52 65 70 6c 69 |RI1, Pla|yerRepli|
|00000d10| 63 61 74 69 6f 6e 49 6e | 66 6f 20 50 52 49 32 29 |cationIn|fo PRI2)|
|00000d20| 0d 0a 7b 0d 0a 09 2f 2f | 20 48 69 67 68 65 73 74 |..{...//| Highest|
|00000d30| 20 73 63 6f 72 65 20 69 | 73 20 62 65 73 74 0d 0a | score i|s best..|
|00000d40| 09 69 66 28 50 52 49 31 | 2e 53 63 6f 72 65 20 3e |.if(PRI1|.Score >|
|00000d50| 20 50 52 49 32 2e 53 63 | 6f 72 65 29 0d 0a 09 09 | PRI2.Sc|ore)....|
|00000d60| 72 65 74 75 72 6e 20 31 | 3b 0d 0a 09 65 6c 73 65 |return 1|;...else|
|00000d70| 20 69 66 28 50 52 49 31 | 2e 53 63 6f 72 65 20 3c | if(PRI1|.Score <|
|00000d80| 20 50 52 49 32 2e 53 63 | 6f 72 65 29 0d 0a 09 09 | PRI2.Sc|ore)....|
|00000d90| 72 65 74 75 72 6e 20 2d | 31 3b 0d 0a 0d 0a 09 2f |return -|1;...../|
|00000da0| 2f 20 4c 65 61 73 74 20 | 64 65 61 74 68 73 20 69 |/ Least |deaths i|
|00000db0| 73 20 62 65 73 74 0d 0a | 09 69 66 28 50 52 49 31 |s best..|.if(PRI1|
|00000dc0| 2e 44 65 61 74 68 73 20 | 3e 20 50 52 49 32 2e 44 |.Deaths |> PRI2.D|
|00000dd0| 65 61 74 68 73 29 0d 0a | 09 09 72 65 74 75 72 6e |eaths)..|..return|
|00000de0| 20 2d 31 3b 0d 0a 09 65 | 6c 73 65 20 69 66 28 50 | -1;...e|lse if(P|
|00000df0| 52 49 31 2e 44 65 61 74 | 68 73 20 3c 20 50 52 49 |RI1.Deat|hs < PRI|
|00000e00| 32 2e 44 65 61 74 68 73 | 29 0d 0a 09 09 72 65 74 |2.Deaths|)....ret|
|00000e10| 75 72 6e 20 31 3b 0d 0a | 0d 0a 09 2f 2f 20 4d 6f |urn 1;..|...// Mo|
|00000e20| 73 74 20 72 65 63 65 6e | 74 20 73 74 61 72 74 20 |st recen|t start |
|00000e30| 74 69 6d 65 20 69 73 20 | 62 65 73 74 0d 0a 09 69 |time is |best...i|
|00000e40| 66 28 50 52 49 31 2e 53 | 74 61 72 74 54 69 6d 65 |f(PRI1.S|tartTime|
|00000e50| 20 3e 20 50 52 49 32 2e | 53 74 61 72 74 54 69 6d | > PRI2.|StartTim|
|00000e60| 65 29 0d 0a 09 09 72 65 | 74 75 72 6e 20 31 3b 0d |e)....re|turn 1;.|
|00000e70| 0a 09 65 6c 73 65 20 69 | 66 28 50 52 49 31 2e 53 |..else i|f(PRI1.S|
|00000e80| 74 61 72 74 54 69 6d 65 | 20 3c 20 50 52 49 32 2e |tartTime| < PRI2.|
|00000e90| 53 74 61 72 74 54 69 6d | 65 29 0d 0a 09 09 72 65 |StartTim|e)....re|
|00000ea0| 74 75 72 6e 20 2d 31 3b | 0d 0a 0d 0a 09 2f 2f 20 |turn -1;|.....// |
|00000eb0| 4a 75 73 74 20 63 61 6e | 27 74 20 64 65 63 69 64 |Just can|'t decid|
|00000ec0| 65 2e 2e 2e 0d 0a 09 72 | 65 74 75 72 6e 20 30 3b |e......r|eturn 0;|
|00000ed0| 0d 0a 7d 0d 0a 0d 0a 2f | 2f 20 57 68 65 6e 20 73 |..}..../|/ When s|
|00000ee0| 6f 6d 65 6f 6e 65 20 73 | 63 6f 72 65 73 2c 20 75 |omeone s|cores, u|
|00000ef0| 70 64 61 74 65 20 74 68 | 65 20 6c 69 73 74 20 6f |pdate th|e list o|
|00000f00| 66 20 27 62 6f 74 74 6f | 6d 20 66 65 65 64 65 72 |f 'botto|m feeder|
|00000f10| 73 27 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 55 70 64 |s'..func|tion Upd|
|00000f20| 61 74 65 42 6f 74 74 6f | 6d 46 65 65 64 65 72 28 |ateBotto|mFeeder(|
|00000f30| 29 0d 0a 7b 0d 0a 09 6c | 6f 63 61 6c 20 69 6e 74 |)..{...l|ocal int|
|00000f40| 20 69 3b 0d 0a 09 6c 6f | 63 61 6c 20 50 6c 61 79 | i;...lo|cal Play|
|00000f50| 65 72 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |erReplic|ationInf|
|00000f60| 6f 20 6d 79 50 52 49 3b | 0d 0a 09 6c 6f 63 61 6c |o myPRI;|...local|
|00000f70| 20 43 6f 6e 74 72 6f 6c | 6c 65 72 20 6f 6c 64 42 | Control|ler oldB|
|00000f80| 46 3b 0d 0a 09 6c 6f 63 | 61 6c 20 50 6c 61 79 65 |F;...loc|al Playe|
|00000f90| 72 43 6f 6e 74 72 6f 6c | 6c 65 72 20 50 6c 61 79 |rControl|ler Play|
|00000fa0| 65 72 3b 0d 0a 0d 0a 09 | 6f 6c 64 42 46 20 3d 20 |er;.....|oldBF = |
|00000fb0| 43 75 72 72 65 6e 74 42 | 6f 74 74 6f 6d 46 65 65 |CurrentB|ottomFee|
|00000fc0| 64 65 72 3b 0d 0a 09 43 | 75 72 72 65 6e 74 42 6f |der;...C|urrentBo|
|00000fd0| 74 74 6f 6d 46 65 65 64 | 65 72 20 3d 20 4e 6f 6e |ttomFeed|er = Non|
|00000fe0| 65 3b 0d 0a 0d 0a 09 69 | 66 28 21 62 45 6e 61 62 |e;.....i|f(!bEnab|
|00000ff0| 6c 65 42 6f 74 74 6f 6d | 46 65 65 64 65 72 29 0d |leBottom|Feeder).|
|00001000| 0a 09 09 72 65 74 75 72 | 6e 3b 0d 0a 0d 0a 09 66 |...retur|n;.....f|
|00001010| 6f 72 28 69 3d 30 3b 20 | 69 3c 47 61 6d 65 52 65 |or(i=0; |i<GameRe|
|00001020| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 2e 50 52 |plicatio|nInfo.PR|
|00001030| 49 41 72 72 61 79 2e 4c | 65 6e 67 74 68 3b 20 69 |IArray.L|ength; i|
|00001040| 2b 2b 29 0d 0a 09 7b 0d | 0a 09 09 6d 79 50 52 49 |++)...{.|...myPRI|
|00001050| 20 3d 20 47 61 6d 65 52 | 65 70 6c 69 63 61 74 69 | = GameR|eplicati|
|00001060| 6f 6e 49 6e 66 6f 2e 50 | 52 49 41 72 72 61 79 5b |onInfo.P|RIArray[|
|00001070| 69 5d 3b 0d 0a 0d 0a 09 | 09 2f 2f 20 53 70 65 63 |i];.....|.// Spec|
|00001080| 74 61 74 6f 72 73 2f 6d | 75 74 61 6e 74 20 63 61 |tators/m|utant ca|
|00001090| 6e 27 74 20 62 65 20 42 | 46 0d 0a 09 09 69 66 28 |n't be B|F....if(|
|000010a0| 20 6d 79 50 52 49 2e 62 | 4f 6e 6c 79 53 70 65 63 | myPRI.b|OnlySpec|
|000010b0| 74 61 74 6f 72 20 7c 7c | 20 28 43 75 72 72 65 6e |tator ||| (Curren|
|000010c0| 74 4d 75 74 61 6e 74 20 | 21 3d 20 4e 6f 6e 65 20 |tMutant |!= None |
|000010d0| 26 26 20 6d 79 50 52 49 | 20 3d 3d 20 43 75 72 72 |&& myPRI| == Curr|
|000010e0| 65 6e 74 4d 75 74 61 6e | 74 2e 50 6c 61 79 65 72 |entMutan|t.Player|
|000010f0| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 29 |Replicat|ionInfo)|
|00001100| 20 29 0d 0a 09 09 09 63 | 6f 6e 74 69 6e 75 65 3b | ).....c|ontinue;|
|00001110| 0d 0a 0d 0a 09 09 69 66 | 28 43 75 72 72 65 6e 74 |......if|(Current|
|00001120| 42 6f 74 74 6f 6d 46 65 | 65 64 65 72 20 3d 3d 20 |BottomFe|eder == |
|00001130| 4e 6f 6e 65 29 0d 0a 09 | 09 09 43 75 72 72 65 6e |None)...|..Curren|
|00001140| 74 42 6f 74 74 6f 6d 46 | 65 65 64 65 72 20 3d 20 |tBottomF|eeder = |
|00001150| 43 6f 6e 74 72 6f 6c 6c | 65 72 28 6d 79 50 52 49 |Controll|er(myPRI|
|00001160| 2e 4f 77 6e 65 72 29 3b | 0d 0a 09 09 65 6c 73 65 |.Owner);|....else|
|00001170| 0d 0a 09 09 7b 0d 0a 09 | 09 09 2f 2f 20 43 6f 6d |....{...|..// Com|
|00001180| 70 61 72 65 20 63 75 72 | 72 65 6e 74 20 42 46 20 |pare cur|rent BF |
|00001190| 77 69 74 68 20 74 68 69 | 73 20 50 52 49 2e 20 49 |with thi|s PRI. I|
|000011a0| 66 20 69 74 73 20 77 6f | 72 73 65 2c 20 6d 61 6b |f its wo|rse, mak|
|000011b0| 65 20 69 74 20 74 68 65 | 20 6e 65 77 20 42 46 2e |e it the| new BF.|
|000011c0| 0d 0a 09 09 09 69 66 28 | 20 43 6f 6d 70 61 72 65 |.....if(| Compare|
|000011d0| 50 52 49 28 43 75 72 72 | 65 6e 74 42 6f 74 74 6f |PRI(Curr|entBotto|
|000011e0| 6d 46 65 65 64 65 72 2e | 50 6c 61 79 65 72 52 65 |mFeeder.|PlayerRe|
|000011f0| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 2c 20 6d |plicatio|nInfo, m|
|00001200| 79 50 52 49 29 20 3e 20 | 30 20 29 0d 0a 09 09 09 |yPRI) > |0 ).....|
|00001210| 09 43 75 72 72 65 6e 74 | 42 6f 74 74 6f 6d 46 65 |.Current|BottomFe|
|00001220| 65 64 65 72 20 3d 20 43 | 6f 6e 74 72 6f 6c 6c 65 |eder = C|ontrolle|
|00001230| 72 28 6d 79 50 52 49 2e | 4f 77 6e 65 72 29 3b 0d |r(myPRI.|Owner);.|
|00001240| 0a 09 09 7d 0d 0a 09 7d | 0d 0a 0d 0a 09 2f 2f 20 |...}...}|.....// |
|00001250| 53 65 74 20 74 68 65 20 | 42 46 20 50 52 49 20 69 |Set the |BF PRI i|
|00001260| 6e 74 6f 20 74 68 65 20 | 4d 75 74 61 6e 74 20 47 |nto the |Mutant G|
|00001270| 52 49 0d 0a 09 69 66 28 | 43 75 72 72 65 6e 74 42 |RI...if(|CurrentB|
|00001280| 6f 74 74 6f 6d 46 65 65 | 64 65 72 20 21 3d 20 4e |ottomFee|der != N|
|00001290| 6f 6e 65 29 0d 0a 09 09 | 4d 75 74 61 6e 74 47 61 |one)....|MutantGa|
|000012a0| 6d 65 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |meReplic|ationInf|
|000012b0| 6f 28 47 61 6d 65 52 65 | 70 6c 69 63 61 74 69 6f |o(GameRe|plicatio|
|000012c0| 6e 49 6e 66 6f 29 2e 42 | 6f 74 74 6f 6d 46 65 65 |nInfo).B|ottomFee|
|000012d0| 64 65 72 50 52 49 20 3d | 20 43 75 72 72 65 6e 74 |derPRI =| Current|
|000012e0| 42 6f 74 74 6f 6d 46 65 | 65 64 65 72 2e 50 6c 61 |BottomFe|eder.Pla|
|000012f0| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00001300| 66 6f 3b 0d 0a 09 65 6c | 73 65 0d 0a 09 09 4d 75 |fo;...el|se....Mu|
|00001310| 74 61 6e 74 47 61 6d 65 | 52 65 70 6c 69 63 61 74 |tantGame|Replicat|
|00001320| 69 6f 6e 49 6e 66 6f 28 | 47 61 6d 65 52 65 70 6c |ionInfo(|GameRepl|
|00001330| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 29 2e 42 6f 74 |icationI|nfo).Bot|
|00001340| 74 6f 6d 46 65 65 64 65 | 72 50 52 49 20 3d 20 4e |tomFeede|rPRI = N|
|00001350| 6f 6e 65 3b 0d 0a 0d 0a | 09 2f 2f 20 44 6f 6e 74 |one;....|.// Dont|
|00001360| 20 73 65 6e 64 20 6d 65 | 73 73 61 67 65 73 20 6f | send me|ssages o|
|00001370| 6e 63 65 20 67 61 6d 65 | 20 69 73 20 6f 76 65 72 |nce game| is over|
|00001380| 2e 0d 0a 09 69 66 28 20 | 49 73 49 6e 53 74 61 74 |....if( |IsInStat|
|00001390| 65 28 27 4d 61 74 63 68 | 4f 76 65 72 27 29 20 29 |e('Match|Over') )|
|000013a0| 0d 0a 09 09 72 65 74 75 | 72 6e 3b 0d 0a 0d 0a 09 |....retu|rn;.....|
|000013b0| 2f 2f 20 49 66 20 69 74 | 73 20 61 20 6e 65 77 20 |// If it|s a new |
|000013c0| 62 6f 74 74 6f 6d 20 66 | 65 65 64 65 72 20 2d 20 |bottom f|eeder - |
|000013d0| 73 65 6e 64 20 6d 65 73 | 73 61 67 65 73 20 74 6f |send mes|sages to|
|000013e0| 20 6e 65 77 20 61 6e 64 | 20 6f 6c 64 0d 0a 09 69 | new and| old...i|
|000013f0| 66 28 43 75 72 72 65 6e | 74 42 6f 74 74 6f 6d 46 |f(Curren|tBottomF|
|00001400| 65 65 64 65 72 20 21 3d | 20 6f 6c 64 42 46 29 0d |eeder !=| oldBF).|
|00001410| 0a 09 7b 0d 0a 09 09 2f | 2f 20 27 4e 6f 20 4c 6f |..{..../|/ 'No Lo|
|00001420| 6e 67 65 72 20 42 6f 74 | 74 6f 6d 20 46 65 65 64 |nger Bot|tom Feed|
|00001430| 65 72 27 20 6d 65 73 73 | 61 67 65 0d 0a 09 09 69 |er' mess|age....i|
|00001440| 66 28 6f 6c 64 42 46 20 | 21 3d 20 4e 6f 6e 65 29 |f(oldBF |!= None)|
|00001450| 0d 0a 09 09 7b 0d 0a 09 | 09 09 50 6c 61 79 65 72 |....{...|..Player|
|00001460| 20 3d 20 50 6c 61 79 65 | 72 43 6f 6e 74 72 6f 6c | = Playe|rControl|
|00001470| 6c 65 72 28 6f 6c 64 42 | 46 29 3b 0d 0a 09 09 09 |ler(oldB|F);.....|
|00001480| 69 66 28 50 6c 61 79 65 | 72 20 21 3d 20 4e 6f 6e |if(Playe|r != Non|
|00001490| 65 29 0d 0a 09 09 09 09 | 50 6c 61 79 65 72 2e 52 |e)......|Player.R|
|000014a0| 65 63 65 69 76 65 4c 6f | 63 61 6c 69 7a 65 64 4d |eceiveLo|calizedM|
|000014b0| 65 73 73 61 67 65 28 63 | 6c 61 73 73 27 42 6f 6e |essage(c|lass'Bon|
|000014c0| 75 73 50 61 63 6b 2e 4d | 75 74 61 6e 74 4d 65 73 |usPack.M|utantMes|
|000014d0| 73 61 67 65 27 2c 20 34 | 29 3b 0d 0a 09 09 7d 0d |sage', 4|);....}.|
|000014e0| 0a 0d 0a 09 09 2f 2f 20 | 27 4e 65 77 20 42 6f 74 |.....// |'New Bot|
|000014f0| 74 6f 6d 20 46 65 65 64 | 65 72 27 20 6d 65 73 73 |tom Feed|er' mess|
|00001500| 61 67 65 0d 0a 09 09 69 | 66 28 43 75 72 72 65 6e |age....i|f(Curren|
|00001510| 74 42 6f 74 74 6f 6d 46 | 65 65 64 65 72 20 21 3d |tBottomF|eeder !=|
|00001520| 20 4e 6f 6e 65 29 0d 0a | 09 09 7b 0d 0a 09 09 09 | None)..|..{.....|
|00001530| 50 6c 61 79 65 72 20 3d | 20 50 6c 61 79 65 72 43 |Player =| PlayerC|
|00001540| 6f 6e 74 72 6f 6c 6c 65 | 72 28 43 75 72 72 65 6e |ontrolle|r(Curren|
|00001550| 74 42 6f 74 74 6f 6d 46 | 65 65 64 65 72 29 3b 0d |tBottomF|eeder);.|
|00001560| 0a 09 09 09 69 66 28 50 | 6c 61 79 65 72 20 21 3d |....if(P|layer !=|
|00001570| 20 4e 6f 6e 65 29 0d 0a | 09 09 09 09 50 6c 61 79 | None)..|....Play|
|00001580| 65 72 2e 52 65 63 65 69 | 76 65 4c 6f 63 61 6c 69 |er.Recei|veLocali|
|00001590| 7a 65 64 4d 65 73 73 61 | 67 65 28 63 6c 61 73 73 |zedMessa|ge(class|
|000015a0| 27 42 6f 6e 75 73 50 61 | 63 6b 2e 4d 75 74 61 6e |'BonusPa|ck.Mutan|
|000015b0| 74 4d 65 73 73 61 67 65 | 27 2c 20 33 29 3b 0d 0a |tMessage|', 3);..|
|000015c0| 09 09 7d 0d 0a 09 7d 0d | 0a 0d 0a 09 2f 2f 4c 6f |..}...}.|....//Lo|
|000015d0| 67 28 20 22 46 45 45 44 | 45 52 3a 20 22 24 43 75 |g( "FEED|ER: "$Cu|
|000015e0| 72 72 65 6e 74 42 6f 74 | 74 6f 6d 46 65 65 64 65 |rrentBot|tomFeede|
|000015f0| 72 2e 50 6c 61 79 65 72 | 52 65 70 6c 69 63 61 74 |r.Player|Replicat|
|00001600| 69 6f 6e 49 6e 66 6f 2e | 50 6c 61 79 65 72 4e 61 |ionInfo.|PlayerNa|
|00001610| 6d 65 20 29 3b 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |me );..}|....func|
|00001620| 74 69 6f 6e 20 62 6f 6f | 6c 20 49 73 42 6f 74 74 |tion boo|l IsBott|
|00001630| 6f 6d 46 65 65 64 65 72 | 28 43 6f 6e 74 72 6f 6c |omFeeder|(Control|
|00001640| 6c 65 72 20 43 29 0d 0a | 7b 0d 0a 09 69 66 28 43 |ler C)..|{...if(C|
|00001650| 20 3d 3d 20 4e 6f 6e 65 | 29 0d 0a 09 09 72 65 74 | == None|)....ret|
|00001660| 75 72 6e 20 66 61 6c 73 | 65 3b 0d 0a 0d 0a 09 69 |urn fals|e;.....i|
|00001670| 66 28 43 20 3d 3d 20 43 | 75 72 72 65 6e 74 42 6f |f(C == C|urrentBo|
|00001680| 74 74 6f 6d 46 65 65 64 | 65 72 29 0d 0a 09 09 72 |ttomFeed|er)....r|
|00001690| 65 74 75 72 6e 20 74 72 | 75 65 3b 0d 0a 0d 0a 09 |eturn tr|ue;.....|
|000016a0| 72 65 74 75 72 6e 20 66 | 61 6c 73 65 3b 0d 0a 7d |return f|alse;..}|
|000016b0| 0d 0a 0d 0a 2f 2f 20 53 | 65 6e 64 20 6d 65 73 73 |....// S|end mess|
|000016c0| 61 67 65 20 73 74 61 74 | 69 6e 67 20 63 75 72 72 |age stat|ing curr|
|000016d0| 65 6e 74 20 4d 75 74 61 | 6e 74 20 73 69 74 75 61 |ent Muta|nt situa|
|000016e0| 74 69 6f 6e 20 74 6f 20 | 73 69 6e 67 6c 65 20 63 |tion to |single c|
|000016f0| 6c 69 65 6e 74 2e 0d 0a | 66 75 6e 63 74 69 6f 6e |lient...|function|
|00001700| 20 53 65 6e 64 43 75 72 | 72 65 6e 74 4d 75 74 61 | SendCur|rentMuta|
|00001710| 6e 74 4d 65 73 73 61 67 | 65 28 50 6c 61 79 65 72 |ntMessag|e(Player|
|00001720| 43 6f 6e 74 72 6f 6c 6c | 65 72 20 50 6c 61 79 65 |Controll|er Playe|
|00001730| 72 29 0d 0a 7b 0d 0a 09 | 2f 2f 20 44 6f 6e 74 20 |r)..{...|// Dont |
|00001740| 73 65 6e 64 20 6d 65 73 | 73 61 67 65 73 20 6f 6e |send mes|sages on|
|00001750| 63 65 20 67 61 6d 65 20 | 69 73 20 6f 76 65 72 2e |ce game |is over.|
|00001760| 0d 0a 09 69 66 28 20 49 | 73 49 6e 53 74 61 74 65 |...if( I|sInState|
|00001770| 28 27 4d 61 74 63 68 4f | 76 65 72 27 29 20 29 0d |('MatchO|ver') ).|
|00001780| 0a 09 09 72 65 74 75 72 | 6e 3b 0d 0a 0d 0a 09 69 |...retur|n;.....i|
|00001790| 66 28 43 75 72 72 65 6e | 74 4d 75 74 61 6e 74 20 |f(Curren|tMutant |
|000017a0| 3d 3d 20 4e 6f 6e 65 29 | 0d 0a 09 09 50 6c 61 79 |== None)|....Play|
|000017b0| 65 72 2e 52 65 63 65 69 | 76 65 4c 6f 63 61 6c 69 |er.Recei|veLocali|
|000017c0| 7a 65 64 4d 65 73 73 61 | 67 65 28 63 6c 61 73 73 |zedMessa|ge(class|
|000017d0| 27 42 6f 6e 75 73 50 61 | 63 6b 2e 4d 75 74 61 6e |'BonusPa|ck.Mutan|
|000017e0| 74 4d 65 73 73 61 67 65 | 27 2c 20 32 29 3b 0d 0a |tMessage|', 2);..|
|000017f0| 09 65 6c 73 65 0d 0a 09 | 7b 0d 0a 09 09 69 66 28 |.else...|{....if(|
|00001800| 50 6c 61 79 65 72 20 3d | 3d 20 43 75 72 72 65 6e |Player =|= Curren|
|00001810| 74 4d 75 74 61 6e 74 29 | 0d 0a 09 09 09 50 6c 61 |tMutant)|.....Pla|
|00001820| 79 65 72 2e 52 65 63 65 | 69 76 65 4c 6f 63 61 6c |yer.Rece|iveLocal|
|00001830| 69 7a 65 64 4d 65 73 73 | 61 67 65 28 63 6c 61 73 |izedMess|age(clas|
|00001840| 73 27 42 6f 6e 75 73 50 | 61 63 6b 2e 4d 75 74 61 |s'BonusP|ack.Muta|
|00001850| 6e 74 4d 65 73 73 61 67 | 65 27 2c 20 30 29 3b 0d |ntMessag|e', 0);.|
|00001860| 0a 09 09 65 6c 73 65 0d | 0a 09 09 09 50 6c 61 79 |...else.|....Play|
|00001870| 65 72 2e 52 65 63 65 69 | 76 65 4c 6f 63 61 6c 69 |er.Recei|veLocali|
|00001880| 7a 65 64 4d 65 73 73 61 | 67 65 28 63 6c 61 73 73 |zedMessa|ge(class|
|00001890| 27 42 6f 6e 75 73 50 61 | 63 6b 2e 4d 75 74 61 6e |'BonusPa|ck.Mutan|
|000018a0| 74 4d 65 73 73 61 67 65 | 27 2c 20 31 2c 20 43 75 |tMessage|', 1, Cu|
|000018b0| 72 72 65 6e 74 4d 75 74 | 61 6e 74 2e 50 6c 61 79 |rrentMut|ant.Play|
|000018c0| 65 72 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |erReplic|ationInf|
|000018d0| 6f 29 3b 0d 0a 09 7d 0d | 0a 7d 0d 0a 0d 0a 2f 2f |o);...}.|.}....//|
|000018e0| 20 53 65 6e 64 20 6d 65 | 73 73 61 67 65 20 73 74 | Send me|ssage st|
|000018f0| 61 74 69 6e 67 20 63 75 | 72 72 65 6e 74 20 4d 75 |ating cu|rrent Mu|
|00001900| 74 61 6e 74 20 73 69 74 | 75 61 74 69 6f 6e 20 74 |tant sit|uation t|
|00001910| 6f 20 61 6c 6c 20 63 6c | 69 65 6e 74 73 2e 0d 0a |o all cl|ients...|
|00001920| 66 75 6e 63 74 69 6f 6e | 20 53 65 6e 64 41 6c 6c |function| SendAll|
|00001930| 43 75 72 72 65 6e 74 4d | 75 74 61 6e 74 4d 65 73 |CurrentM|utantMes|
|00001940| 73 61 67 65 28 29 0d 0a | 7b 0d 0a 20 20 20 20 6c |sage()..|{.. l|
|00001950| 6f 63 61 6c 20 43 6f 6e | 74 72 6f 6c 6c 65 72 20 |ocal Con|troller |
|00001960| 50 3b 0d 0a 09 6c 6f 63 | 61 6c 20 50 6c 61 79 65 |P;...loc|al Playe|
|00001970| 72 43 6f 6e 74 72 6f 6c | 6c 65 72 20 50 6c 61 79 |rControl|ler Play|
|00001980| 65 72 3b 0d 0a 0d 0a 09 | 2f 2f 20 44 6f 6e 74 20 |er;.....|// Dont |
|00001990| 73 65 6e 64 20 6d 65 73 | 73 61 67 65 73 20 6f 6e |send mes|sages on|
|000019a0| 63 65 20 67 61 6d 65 20 | 69 73 20 6f 76 65 72 2e |ce game |is over.|
|000019b0| 0d 0a 09 69 66 28 20 49 | 73 49 6e 53 74 61 74 65 |...if( I|sInState|
|000019c0| 28 27 4d 61 74 63 68 4f | 76 65 72 27 29 20 29 0d |('MatchO|ver') ).|
|000019d0| 0a 09 09 72 65 74 75 72 | 6e 3b 0d 0a 0d 0a 09 66 |...retur|n;.....f|
|000019e0| 6f 72 28 50 20 3d 20 4c | 65 76 65 6c 2e 43 6f 6e |or(P = L|evel.Con|
|000019f0| 74 72 6f 6c 6c 65 72 4c | 69 73 74 3b 20 50 20 21 |trollerL|ist; P !|
|00001a00| 3d 20 4e 6f 6e 65 3b 20 | 50 20 3d 20 50 2e 6e 65 |= None; |P = P.ne|
|00001a10| 78 74 43 6f 6e 74 72 6f | 6c 6c 65 72 29 0d 0a 09 |xtContro|ller)...|
|00001a20| 7b 0d 0a 09 09 50 6c 61 | 79 65 72 20 3d 20 50 6c |{....Pla|yer = Pl|
|00001a30| 61 79 65 72 43 6f 6e 74 | 72 6f 6c 6c 65 72 28 50 |ayerCont|roller(P|
|00001a40| 29 3b 0d 0a 0d 0a 09 09 | 69 66 20 28 50 6c 61 79 |);......|if (Play|
|00001a50| 65 72 20 21 3d 20 4e 6f | 6e 65 29 0d 0a 09 09 7b |er != No|ne)....{|
|00001a60| 0d 0a 09 09 09 53 65 6e | 64 43 75 72 72 65 6e 74 |.....Sen|dCurrent|
|00001a70| 4d 75 74 61 6e 74 4d 65 | 73 73 61 67 65 28 50 6c |MutantMe|ssage(Pl|
|00001a80| 61 79 65 72 29 3b 0d 0a | 09 09 7d 0d 0a 09 7d 0d |ayer);..|..}...}.|
|00001a90| 0a 7d 0d 0a 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |.}......|function|
|00001aa0| 20 66 6c 6f 61 74 20 52 | 61 74 65 50 6c 61 79 65 | float R|atePlaye|
|00001ab0| 72 53 74 61 72 74 28 4e | 61 76 69 67 61 74 69 6f |rStart(N|avigatio|
|00001ac0| 6e 50 6f 69 6e 74 20 4e | 2c 20 62 79 74 65 20 54 |nPoint N|, byte T|
|00001ad0| 65 61 6d 2c 20 43 6f 6e | 74 72 6f 6c 6c 65 72 20 |eam, Con|troller |
|00001ae0| 50 6c 61 79 65 72 29 0d | 0a 7b 0d 0a 09 6c 6f 63 |Player).|.{...loc|
|00001af0| 61 6c 20 50 6c 61 79 65 | 72 53 74 61 72 74 20 50 |al Playe|rStart P|
|00001b00| 3b 0d 0a 09 6c 6f 63 61 | 6c 20 66 6c 6f 61 74 20 |;...loca|l float |
|00001b10| 53 63 6f 72 65 3b 0d 0a | 0d 0a 09 53 63 6f 72 65 |Score;..|...Score|
|00001b20| 20 3d 20 53 75 70 65 72 | 2e 52 61 74 65 50 6c 61 | = Super|.RatePla|
|00001b30| 79 65 72 53 74 61 72 74 | 28 4e 2c 54 65 61 6d 2c |yerStart|(N,Team,|
|00001b40| 50 6c 61 79 65 72 29 3b | 0d 0a 0d 0a 09 2f 2f 20 |Player);|.....// |
|00001b50| 49 66 20 74 68 65 72 65 | 20 69 73 20 61 20 4d 75 |If there| is a Mu|
|00001b60| 74 61 6e 74 20 61 72 6f | 75 6e 64 20 2d 20 70 69 |tant aro|und - pi|
|00001b70| 63 6b 20 61 20 73 74 61 | 72 74 20 70 6f 69 6e 74 |ck a sta|rt point|
|00001b80| 20 61 20 64 69 73 74 61 | 6e 63 65 20 61 77 61 79 | a dista|nce away|
|00001b90| 2e 0d 0a 09 69 66 28 50 | 6c 61 79 65 72 20 21 3d |....if(P|layer !=|
|00001ba0| 20 4e 6f 6e 65 20 26 26 | 20 43 75 72 72 65 6e 74 | None &&| Current|
|00001bb0| 4d 75 74 61 6e 74 20 21 | 3d 20 4e 6f 6e 65 29 0d |Mutant !|= None).|
|00001bc0| 0a 09 7b 0d 0a 09 09 50 | 20 3d 20 50 6c 61 79 65 |..{....P| = Playe|
|00001bd0| 72 53 74 61 72 74 28 4e | 29 3b 0d 0a 09 09 69 66 |rStart(N|);....if|
|00001be0| 20 28 20 50 20 21 3d 20 | 4e 6f 6e 65 20 29 0d 0a | ( P != |None )..|
|00001bf0| 09 09 09 53 63 6f 72 65 | 20 2b 3d 20 31 30 20 2a |...Score| += 10 *|
|00001c00| 20 56 53 69 7a 65 28 50 | 2e 4c 6f 63 61 74 69 6f | VSize(P|.Locatio|
|00001c10| 6e 20 2d 20 43 75 72 72 | 65 6e 74 4d 75 74 61 6e |n - Curr|entMutan|
|00001c20| 74 2e 50 61 77 6e 2e 4c | 6f 63 61 74 69 6f 6e 29 |t.Pawn.L|ocation)|
|00001c30| 3b 0d 0a 09 7d 0d 0a 0d | 0a 09 72 65 74 75 72 6e |;...}...|..return|
|00001c40| 20 53 63 6f 72 65 3b 0d | 0a 7d 0d 0a 0d 0a 66 75 | Score;.|.}....fu|
|00001c50| 6e 63 74 69 6f 6e 20 52 | 61 6e 64 6f 6d 54 65 6c |nction R|andomTel|
|00001c60| 65 70 6f 72 74 4d 75 74 | 61 6e 74 28 43 6f 6e 74 |eportMut|ant(Cont|
|00001c70| 72 6f 6c 6c 65 72 20 50 | 72 65 64 2c 20 78 50 61 |roller P|red, xPa|
|00001c80| 77 6e 20 50 72 65 64 50 | 61 77 6e 29 0d 0a 7b 0d |wn PredP|awn)..{.|
|00001c90| 0a 09 6c 6f 63 61 6c 20 | 4e 61 76 69 67 61 74 69 |..local |Navigati|
|00001ca0| 6f 6e 50 6f 69 6e 74 20 | 4e 3b 0d 0a 09 6c 6f 63 |onPoint |N;...loc|
|00001cb0| 61 6c 20 50 6c 61 79 65 | 72 43 6f 6e 74 72 6f 6c |al Playe|rControl|
|00001cc0| 6c 65 72 20 70 63 50 72 | 65 64 3b 0d 0a 0d 0a 09 |ler pcPr|ed;.....|
|00001cd0| 4e 20 3d 20 46 69 6e 64 | 50 6c 61 79 65 72 53 74 |N = Find|PlayerSt|
|00001ce0| 61 72 74 28 50 72 65 64 | 29 3b 0d 0a 0d 0a 09 69 |art(Pred|);.....i|
|00001cf0| 66 28 4e 20 3d 3d 20 4e | 6f 6e 65 29 0d 0a 09 7b |f(N == N|one)...{|
|00001d00| 0d 0a 09 09 4c 6f 67 28 | 22 43 6f 75 6c 64 20 6e |....Log(|"Could n|
|00001d10| 6f 74 20 74 65 6c 65 70 | 6f 72 74 20 4d 75 74 61 |ot telep|ort Muta|
|00001d20| 6e 74 22 29 3b 0d 0a 09 | 09 72 65 74 75 72 6e 3b |nt");...|.return;|
|00001d30| 0d 0a 09 7d 0d 0a 0d 0a | 09 50 72 65 64 2e 53 65 |...}....|.Pred.Se|
|00001d40| 74 4c 6f 63 61 74 69 6f | 6e 28 4e 2e 4c 6f 63 61 |tLocatio|n(N.Loca|
|00001d50| 74 69 6f 6e 29 3b 0d 0a | 09 50 72 65 64 2e 53 65 |tion);..|.Pred.Se|
|00001d60| 74 52 6f 74 61 74 69 6f | 6e 28 4e 2e 52 6f 74 61 |tRotatio|n(N.Rota|
|00001d70| 74 69 6f 6e 29 3b 0d 0a | 0d 0a 09 50 72 65 64 50 |tion);..|...PredP|
|00001d80| 61 77 6e 2e 53 65 74 4c | 6f 63 61 74 69 6f 6e 28 |awn.SetL|ocation(|
|00001d90| 4e 2e 4c 6f 63 61 74 69 | 6f 6e 29 3b 0d 0a 09 50 |N.Locati|on);...P|
|00001da0| 72 65 64 50 61 77 6e 2e | 53 65 74 52 6f 74 61 74 |redPawn.|SetRotat|
|00001db0| 69 6f 6e 28 4e 2e 52 6f | 74 61 74 69 6f 6e 29 3b |ion(N.Ro|tation);|
|00001dc0| 0d 0a 09 50 72 65 64 50 | 61 77 6e 2e 56 65 6c 6f |...PredP|awn.Velo|
|00001dd0| 63 69 74 79 20 3d 20 76 | 65 63 74 28 30 2c 30 2c |city = v|ect(0,0,|
|00001de0| 30 29 3b 0d 0a 0d 0a 09 | 50 72 65 64 2e 43 6c 69 |0);.....|Pred.Cli|
|00001df0| 65 6e 74 53 65 74 4c 6f | 63 61 74 69 6f 6e 28 4e |entSetLo|cation(N|
|00001e00| 2e 4c 6f 63 61 74 69 6f | 6e 2c 20 4e 2e 52 6f 74 |.Locatio|n, N.Rot|
|00001e10| 61 74 69 6f 6e 29 3b 0d | 0a 0d 0a 09 2f 2f 20 46 |ation);.|....// F|
|00001e20| 6c 61 73 68 20 63 6c 69 | 65 6e 74 73 20 73 63 72 |lash cli|ents scr|
|00001e30| 65 65 6e 20 70 75 72 70 | 6c 65 0d 0a 09 70 63 50 |een purp|le...pcP|
|00001e40| 72 65 64 20 3d 20 50 6c | 61 79 65 72 43 6f 6e 74 |red = Pl|ayerCont|
|00001e50| 72 6f 6c 6c 65 72 28 50 | 72 65 64 29 3b 0d 0a 09 |roller(P|red);...|
|00001e60| 69 66 28 70 63 50 72 65 | 64 20 21 3d 20 4e 6f 6e |if(pcPre|d != Non|
|00001e70| 65 29 0d 0a 09 09 70 63 | 50 72 65 64 2e 43 6c 69 |e)....pc|Pred.Cli|
|00001e80| 65 6e 74 46 6c 61 73 68 | 28 30 2e 31 2c 20 76 65 |entFlash|(0.1, ve|
|00001e90| 63 74 28 37 30 30 2c 30 | 2c 37 30 30 29 29 3b 0d |ct(700,0|,700));.|
|00001ea0| 0a 7d 0d 0a 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |.}......|function|
|00001eb0| 20 45 71 75 69 70 4d 75 | 74 61 6e 74 28 78 50 61 | EquipMu|tant(xPa|
|00001ec0| 77 6e 20 50 72 65 64 50 | 61 77 6e 29 0d 0a 7b 0d |wn PredP|awn)..{.|
|00001ed0| 0a 09 6c 6f 63 61 6c 20 | 49 6e 76 65 6e 74 6f 72 |..local |Inventor|
|00001ee0| 79 20 49 6e 76 3b 0d 0a | 0d 0a 09 50 72 65 64 50 |y Inv;..|...PredP|
|00001ef0| 61 77 6e 2e 43 72 65 61 | 74 65 49 6e 76 65 6e 74 |awn.Crea|teInvent|
|00001f00| 6f 72 79 28 22 58 57 65 | 61 70 6f 6e 73 2e 42 69 |ory("XWe|apons.Bi|
|00001f10| 6f 52 69 66 6c 65 22 29 | 3b 0d 0a 09 50 72 65 64 |oRifle")|;...Pred|
|00001f20| 50 61 77 6e 2e 43 72 65 | 61 74 65 49 6e 76 65 6e |Pawn.Cre|ateInven|
|00001f30| 74 6f 72 79 28 22 58 57 | 65 61 70 6f 6e 73 2e 46 |tory("XW|eapons.F|
|00001f40| 6c 61 6b 43 61 6e 6e 6f | 6e 22 29 3b 0d 0a 09 50 |lakCanno|n");...P|
|00001f50| 72 65 64 50 61 77 6e 2e | 43 72 65 61 74 65 49 6e |redPawn.|CreateIn|
|00001f60| 76 65 6e 74 6f 72 79 28 | 22 58 57 65 61 70 6f 6e |ventory(|"XWeapon|
|00001f70| 73 2e 4c 69 6e 6b 47 75 | 6e 22 29 3b 0d 0a 09 50 |s.LinkGu|n");...P|
|00001f80| 72 65 64 50 61 77 6e 2e | 43 72 65 61 74 65 49 6e |redPawn.|CreateIn|
|00001f90| 76 65 6e 74 6f 72 79 28 | 22 58 57 65 61 70 6f 6e |ventory(|"XWeapon|
|00001fa0| 73 2e 4d 69 6e 69 67 75 | 6e 22 29 3b 0d 0a 09 50 |s.Minigu|n");...P|
|00001fb0| 72 65 64 50 61 77 6e 2e | 43 72 65 61 74 65 49 6e |redPawn.|CreateIn|
|00001fc0| 76 65 6e 74 6f 72 79 28 | 22 58 57 65 61 70 6f 6e |ventory(|"XWeapon|
|00001fd0| 73 2e 52 6f 63 6b 65 74 | 4c 61 75 6e 63 68 65 72 |s.Rocket|Launcher|
|00001fe0| 22 29 3b 0d 0a 09 50 72 | 65 64 50 61 77 6e 2e 43 |");...Pr|edPawn.C|
|00001ff0| 72 65 61 74 65 49 6e 76 | 65 6e 74 6f 72 79 28 22 |reateInv|entory("|
|00002000| 58 57 65 61 70 6f 6e 73 | 2e 53 68 6f 63 6b 52 69 |XWeapons|.ShockRi|
|00002010| 66 6c 65 22 29 3b 0d 0a | 09 50 72 65 64 50 61 77 |fle");..|.PredPaw|
|00002020| 6e 2e 43 72 65 61 74 65 | 49 6e 76 65 6e 74 6f 72 |n.Create|Inventor|
|00002030| 79 28 22 58 57 65 61 70 | 6f 6e 73 2e 53 6e 69 70 |y("XWeap|ons.Snip|
|00002040| 65 72 52 69 66 6c 65 22 | 29 3b 0d 0a 0d 0a 09 66 |erRifle"|);.....f|
|00002050| 6f 72 28 20 49 6e 76 3d | 50 72 65 64 50 61 77 6e |or( Inv=|PredPawn|
|00002060| 2e 49 6e 76 65 6e 74 6f | 72 79 3b 20 49 6e 76 21 |.Invento|ry; Inv!|
|00002070| 3d 4e 6f 6e 65 3b 20 49 | 6e 76 3d 49 6e 76 2e 49 |=None; I|nv=Inv.I|
|00002080| 6e 76 65 6e 74 6f 72 79 | 20 29 0d 0a 09 09 69 66 |nventory| )....if|
|00002090| 20 28 20 57 65 61 70 6f | 6e 28 49 6e 76 29 20 21 | ( Weapo|n(Inv) !|
|000020a0| 3d 20 4e 6f 6e 65 20 29 | 0d 0a 09 09 09 57 65 61 |= None )|.....Wea|
|000020b0| 70 6f 6e 28 49 6e 76 29 | 2e 53 75 70 65 72 4d 61 |pon(Inv)|.SuperMa|
|000020c0| 78 4f 75 74 41 6d 6d 6f | 28 29 3b 0d 0a 7d 0d 0a |xOutAmmo|();..}..|
|000020d0| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 53 65 74 4d 75 |..functi|on SetMu|
|000020e0| 74 61 6e 74 28 43 6f 6e | 74 72 6f 6c 6c 65 72 20 |tant(Con|troller |
|000020f0| 50 72 65 64 2c 20 78 50 | 61 77 6e 20 50 72 65 64 |Pred, xP|awn Pred|
|00002100| 50 61 77 6e 2c 20 62 6f | 6f 6c 20 69 73 50 72 65 |Pawn, bo|ol isPre|
|00002110| 64 29 0d 0a 7b 0d 0a 20 | 20 20 20 6c 6f 63 61 6c |d)..{.. | local|
|00002120| 20 49 6e 76 65 6e 74 6f | 72 79 20 49 6e 76 3b 0d | Invento|ry Inv;.|
|00002130| 0a 09 6c 6f 63 61 6c 20 | 55 6e 72 65 61 6c 50 6c |..local |UnrealPl|
|00002140| 61 79 65 72 20 75 50 72 | 65 64 3b 0d 0a 0d 0a 09 |ayer uPr|ed;.....|
|00002150| 69 66 28 69 73 50 72 65 | 64 29 0d 0a 09 7b 0d 0a |if(isPre|d)...{..|
|00002160| 09 09 2f 2f 20 49 6e 76 | 69 73 69 62 69 6c 69 74 |..// Inv|isibilit|
|00002170| 79 0d 0a 09 09 50 72 65 | 64 50 61 77 6e 2e 53 65 |y....Pre|dPawn.Se|
|00002180| 74 49 6e 76 69 73 69 62 | 69 6c 69 74 79 28 32 30 |tInvisib|ility(20|
|00002190| 30 30 30 30 30 2e 30 29 | 3b 0d 0a 0d 0a 09 09 69 |00000.0)|;......i|
|000021a0| 66 28 21 50 72 65 64 50 | 61 77 6e 2e 49 73 41 28 |f(!PredP|awn.IsA(|
|000021b0| 27 78 4d 75 74 61 6e 74 | 50 61 77 6e 27 29 29 0d |'xMutant|Pawn')).|
|000021c0| 0a 09 09 09 4c 6f 67 28 | 22 4e 4f 4e 20 4d 55 54 |....Log(|"NON MUT|
|000021d0| 41 4e 54 20 50 41 57 4e | 22 29 3b 0d 0a 0d 0a 09 |ANT PAWN|");.....|
|000021e0| 09 2f 2f 20 54 68 69 73 | 20 77 69 6c 6c 20 74 72 |.// This| will tr|
|000021f0| 69 67 67 65 72 20 67 6c | 6f 77 79 20 65 66 66 65 |igger gl|owy effe|
|00002200| 63 74 0d 0a 09 09 2f 2f | 78 4d 75 74 61 6e 74 50 |ct....//|xMutantP|
|00002210| 61 77 6e 28 50 72 65 64 | 50 61 77 6e 29 2e 62 4d |awn(Pred|Pawn).bM|
|00002220| 75 74 61 6e 74 45 66 66 | 65 63 74 20 3d 20 74 72 |utantEff|ect = tr|
|00002230| 75 65 3b 0d 0a 0d 0a 09 | 09 2f 2f 20 41 67 69 6c |ue;.....|.// Agil|
|00002240| 69 74 79 20 63 6f 6d 62 | 6f 0d 0a 09 09 50 72 65 |ity comb|o....Pre|
|00002250| 64 50 61 77 6e 2e 41 69 | 72 43 6f 6e 74 72 6f 6c |dPawn.Ai|rControl|
|00002260| 20 3d 20 50 72 65 64 50 | 61 77 6e 2e 44 65 66 61 | = PredP|awn.Defa|
|00002270| 75 6c 74 2e 41 69 72 43 | 6f 6e 74 72 6f 6c 20 2a |ult.AirC|ontrol *|
|00002280| 20 31 2e 35 3b 0d 0a 09 | 09 50 72 65 64 50 61 77 | 1.5;...|.PredPaw|
|00002290| 6e 2e 47 72 6f 75 6e 64 | 53 70 65 65 64 20 3d 20 |n.Ground|Speed = |
|000022a0| 50 72 65 64 50 61 77 6e | 2e 44 65 66 61 75 6c 74 |PredPawn|.Default|
|000022b0| 2e 47 72 6f 75 6e 64 53 | 70 65 65 64 20 2a 20 31 |.GroundS|peed * 1|
|000022c0| 2e 35 3b 0d 0a 09 09 50 | 72 65 64 50 61 77 6e 2e |.5;....P|redPawn.|
|000022d0| 57 61 74 65 72 53 70 65 | 65 64 20 3d 20 50 72 65 |WaterSpe|ed = Pre|
|000022e0| 64 50 61 77 6e 2e 44 65 | 66 61 75 6c 74 2e 57 61 |dPawn.De|fault.Wa|
|000022f0| 74 65 72 53 70 65 65 64 | 20 2a 20 31 2e 35 3b 0d |terSpeed| * 1.5;.|
|00002300| 0a 09 09 50 72 65 64 50 | 61 77 6e 2e 41 69 72 53 |...PredP|awn.AirS|
|00002310| 70 65 65 64 20 3d 20 50 | 72 65 64 50 61 77 6e 2e |peed = P|redPawn.|
|00002320| 44 65 66 61 75 6c 74 2e | 41 69 72 53 70 65 65 64 |Default.|AirSpeed|
|00002330| 20 2a 20 31 2e 35 3b 0d | 0a 09 09 50 72 65 64 50 | * 1.5;.|...PredP|
|00002340| 61 77 6e 2e 4a 75 6d 70 | 5a 20 3d 20 50 72 65 64 |awn.Jump|Z = Pred|
|00002350| 50 61 77 6e 2e 44 65 66 | 61 75 6c 74 2e 4a 75 6d |Pawn.Def|ault.Jum|
|00002360| 70 5a 20 2a 20 31 2e 35 | 3b 0d 0a 0d 0a 09 09 2f |pZ * 1.5|;....../|
|00002370| 2f 20 47 69 76 65 20 74 | 68 65 20 6d 75 74 61 6e |/ Give t|he mutan|
|00002380| 74 20 73 6f 6d 65 74 68 | 69 6e 67 20 74 6f 20 73 |t someth|ing to s|
|00002390| 74 61 72 74 20 77 69 74 | 68 2e 0d 0a 09 09 50 72 |tart wit|h.....Pr|
|000023a0| 65 64 50 61 77 6e 2e 47 | 69 76 65 48 65 61 6c 74 |edPawn.G|iveHealt|
|000023b0| 68 28 31 35 30 2c 20 31 | 35 30 29 3b 0d 0a 09 09 |h(150, 1|50);....|
|000023c0| 50 72 65 64 50 61 77 6e | 2e 41 64 64 53 68 69 65 |PredPawn|.AddShie|
|000023d0| 6c 64 53 74 72 65 6e 67 | 74 68 28 31 30 30 29 3b |ldStreng|th(100);|
|000023e0| 20 0d 0a 0d 0a 09 09 2f | 2f 20 47 69 76 65 20 74 | ....../|/ Give t|
|000023f0| 68 65 20 6d 75 74 61 6e | 74 20 77 65 61 70 6f 6e |he mutan|t weapon|
|00002400| 73 0d 0a 09 09 45 71 75 | 69 70 4d 75 74 61 6e 74 |s....Equ|ipMutant|
|00002410| 28 50 72 65 64 50 61 77 | 6e 29 3b 0d 0a 0d 0a 09 |(PredPaw|n);.....|
|00002420| 09 2f 2f 20 44 6f 6e 74 | 20 6c 65 74 20 4d 75 74 |.// Dont| let Mut|
|00002430| 61 6e 74 20 75 73 65 20 | 6f 72 20 70 69 63 6b 75 |ant use |or picku|
|00002440| 70 20 41 64 72 65 6e 61 | 6c 69 6e 65 2e 0d 0a 09 |p Adrena|line....|
|00002450| 09 2f 2f 20 41 6c 73 6f | 2c 20 6d 61 6b 65 20 73 |.// Also|, make s|
|00002460| 75 72 65 20 74 68 65 79 | 20 68 61 76 65 20 61 74 |ure they| have at|
|00002470| 20 6d 6f 73 74 20 39 39 | 20 61 64 72 65 6e 61 6c | most 99| adrenal|
|00002480| 69 6e 65 2c 20 73 6f 20 | 74 68 65 79 20 63 61 6e |ine, so |they can|
|00002490| 27 74 20 70 65 72 66 6f | 72 6d 20 63 6f 6d 62 6f |'t perfo|rm combo|
|000024a0| 73 2e 0d 0a 09 09 50 72 | 65 64 2e 62 41 64 72 65 |s.....Pr|ed.bAdre|
|000024b0| 6e 61 6c 69 6e 65 45 6e | 61 62 6c 65 64 20 3d 20 |nalineEn|abled = |
|000024c0| 66 61 6c 73 65 3b 0d 0a | 09 09 50 72 65 64 2e 41 |false;..|..Pred.A|
|000024d0| 64 72 65 6e 61 6c 69 6e | 65 20 3d 20 46 4d 69 6e |drenalin|e = FMin|
|000024e0| 28 39 39 2c 20 50 72 65 | 64 2e 41 64 72 65 6e 61 |(99, Pre|d.Adrena|
|000024f0| 6c 69 6e 65 29 3b 0d 0a | 0d 0a 09 09 2f 2f 20 54 |line);..|....// T|
|00002500| 65 6c 65 70 6f 72 74 20 | 6e 65 77 20 4d 75 74 61 |eleport |new Muta|
|00002510| 6e 74 20 74 6f 20 73 6f | 6d 65 77 68 65 72 65 20 |nt to so|mewhere |
|00002520| 69 6e 20 74 68 65 20 6c | 65 76 65 6c 2e 0d 0a 09 |in the l|evel....|
|00002530| 09 52 61 6e 64 6f 6d 54 | 65 6c 65 70 6f 72 74 4d |.RandomT|eleportM|
|00002540| 75 74 61 6e 74 28 50 72 | 65 64 2c 20 50 72 65 64 |utant(Pr|ed, Pred|
|00002550| 50 61 77 6e 29 3b 0d 0a | 0d 0a 09 09 2f 2f 20 54 |Pawn);..|....// T|
|00002560| 72 69 70 6c 65 20 6a 75 | 6d 70 0d 0a 09 09 2f 2f |riple ju|mp....//|
|00002570| 50 72 65 64 50 61 77 6e | 2e 4d 61 78 4d 75 6c 74 |PredPawn|.MaxMult|
|00002580| 69 4a 75 6d 70 20 3d 20 | 32 3b 0d 0a 09 09 2f 2f |iJump = |2;....//|
|00002590| 50 72 65 64 50 61 77 6e | 2e 4d 75 6c 74 69 4a 75 |PredPawn|.MultiJu|
|000025a0| 6d 70 42 6f 6f 73 74 20 | 3d 20 35 30 3b 0d 0a 0d |mpBoost |= 50;...|
|000025b0| 0a 09 09 2f 2f 20 52 65 | 73 65 74 20 72 65 67 65 |...// Re|set rege|
|000025c0| 6e 20 63 6c 6f 63 6b 0d | 0a 09 09 52 65 67 65 6e |n clock.|...Regen|
|000025d0| 54 69 6d 65 43 61 72 72 | 79 4f 76 65 72 20 3d 20 |TimeCarr|yOver = |
|000025e0| 30 2e 30 3b 0d 0a 0d 0a | 09 09 2f 2f 20 53 65 74 |0.0;....|..// Set|
|000025f0| 20 42 65 72 73 65 72 6b | 20 6f 6e 0d 0a 09 09 69 | Berserk| on....i|
|00002600| 66 20 28 50 72 65 64 50 | 61 77 6e 2e 57 65 61 70 |f (PredP|awn.Weap|
|00002610| 6f 6e 20 21 3d 20 4e 6f | 6e 65 29 0d 0a 09 09 09 |on != No|ne).....|
|00002620| 50 72 65 64 50 61 77 6e | 2e 57 65 61 70 6f 6e 2e |PredPawn|.Weapon.|
|00002630| 53 74 61 72 74 42 65 72 | 73 65 72 6b 28 29 3b 0d |StartBer|serk();.|
|00002640| 0a 0d 0a 09 09 50 72 65 | 64 50 61 77 6e 2e 62 42 |.....Pre|dPawn.bB|
|00002650| 65 72 73 65 72 6b 20 3d | 20 74 72 75 65 3b 0d 0a |erserk =| true;..|
|00002660| 09 7d 0d 0a 09 65 6c 73 | 65 0d 0a 09 7b 0d 0a 09 |.}...els|e...{...|
|00002670| 09 2f 2f 20 54 75 72 6e | 20 69 6e 76 69 73 69 62 |.// Turn| invisib|
|00002680| 6c 65 20 6f 66 66 0d 0a | 09 09 50 72 65 64 50 61 |le off..|..PredPa|
|00002690| 77 6e 2e 53 65 74 49 6e | 76 69 73 69 62 69 6c 69 |wn.SetIn|visibili|
|000026a0| 74 79 28 30 2e 30 29 3b | 0d 0a 0d 0a 09 09 2f 2f |ty(0.0);|......//|
|000026b0| 20 54 75 72 6e 20 6f 66 | 66 20 67 6c 6f 77 79 20 | Turn of|f glowy |
|000026c0| 65 66 66 65 63 74 0d 0a | 09 09 2f 2f 78 4d 75 74 |effect..|..//xMut|
|000026d0| 61 6e 74 50 61 77 6e 28 | 50 72 65 64 50 61 77 6e |antPawn(|PredPawn|
|000026e0| 29 2e 62 4d 75 74 61 6e | 74 45 66 66 65 63 74 20 |).bMutan|tEffect |
|000026f0| 3d 20 66 61 6c 73 65 3b | 0d 0a 0d 0a 09 09 2f 2f |= false;|......//|
|00002700| 50 72 65 64 50 61 77 6e | 2e 49 6e 76 69 73 4d 61 |PredPawn|.InvisMa|
|00002710| 74 65 72 69 61 6c 20 3d | 20 63 6c 61 73 73 27 78 |terial =| class'x|
|00002720| 70 61 77 6e 27 2e 64 65 | 66 61 75 6c 74 2e 49 6e |pawn'.de|fault.In|
|00002730| 76 69 73 4d 61 74 65 72 | 69 61 6c 3b 0d 0a 0d 0a |visMater|ial;....|
|00002740| 09 09 2f 2f 20 54 75 72 | 6e 20 6f 66 66 20 61 67 |..// Tur|n off ag|
|00002750| 69 6c 69 74 79 0d 0a 09 | 20 20 20 20 4c 65 76 65 |ility...| Leve|
|00002760| 6c 2e 47 61 6d 65 2e 53 | 65 74 50 6c 61 79 65 72 |l.Game.S|etPlayer|
|00002770| 44 65 66 61 75 6c 74 73 | 28 50 72 65 64 50 61 77 |Defaults|(PredPaw|
|00002780| 6e 29 3b 0d 0a 0d 0a 09 | 09 2f 2f 20 42 61 63 6b |n);.....|.// Back|
|00002790| 20 74 6f 20 6a 75 73 74 | 20 64 6f 75 62 6c 65 20 | to just| double |
|000027a0| 6a 75 6d 70 0d 0a 09 09 | 2f 2f 50 72 65 64 50 61 |jump....|//PredPa|
|000027b0| 77 6e 2e 4d 61 78 4d 75 | 6c 74 69 4a 75 6d 70 20 |wn.MaxMu|ltiJump |
|000027c0| 3d 20 31 3b 0d 0a 09 09 | 2f 2f 50 72 65 64 50 61 |= 1;....|//PredPa|
|000027d0| 77 6e 2e 4d 75 6c 74 69 | 4a 75 6d 70 42 6f 6f 73 |wn.Multi|JumpBoos|
|000027e0| 74 20 3d 20 32 35 3b 0d | 0a 0d 0a 09 09 2f 2f 20 |t = 25;.|.....// |
|000027f0| 52 65 2d 65 6e 61 62 6c | 65 20 61 64 72 65 6e 61 |Re-enabl|e adrena|
|00002800| 6c 69 6e 65 0d 0a 09 09 | 50 72 65 64 2e 62 41 64 |line....|Pred.bAd|
|00002810| 72 65 6e 61 6c 69 6e 65 | 45 6e 61 62 6c 65 64 20 |renaline|Enabled |
|00002820| 3d 20 74 72 75 65 3b 0d | 0a 0d 0a 09 09 2f 2f 20 |= true;.|.....// |
|00002830| 54 75 72 6e 20 42 65 72 | 73 65 72 6b 20 6f 66 66 |Turn Ber|serk off|
|00002840| 0d 0a 09 09 66 6f 72 28 | 20 49 6e 76 3d 50 72 65 |....for(| Inv=Pre|
|00002850| 64 50 61 77 6e 2e 49 6e | 76 65 6e 74 6f 72 79 3b |dPawn.In|ventory;|
|00002860| 20 49 6e 76 21 3d 4e 6f | 6e 65 3b 20 49 6e 76 3d | Inv!=No|ne; Inv=|
|00002870| 49 6e 76 2e 49 6e 76 65 | 6e 74 6f 72 79 20 29 0d |Inv.Inve|ntory ).|
|00002880| 0a 09 09 7b 0d 0a 09 09 | 09 69 66 20 28 49 6e 76 |...{....|.if (Inv|
|00002890| 2e 49 73 41 28 27 57 65 | 61 70 6f 6e 27 29 29 0d |.IsA('We|apon')).|
|000028a0| 0a 09 09 09 09 57 65 61 | 70 6f 6e 28 49 6e 76 29 |.....Wea|pon(Inv)|
|000028b0| 2e 53 74 6f 70 42 65 72 | 73 65 72 6b 28 29 3b 0d |.StopBer|serk();.|
|000028c0| 0a 09 09 7d 0d 0a 0d 0a | 09 09 50 72 65 64 50 61 |...}....|..PredPa|
|000028d0| 77 6e 2e 62 42 65 72 73 | 65 72 6b 20 3d 20 66 61 |wn.bBers|erk = fa|
|000028e0| 6c 73 65 3b 0d 0a 09 7d | 0d 0a 0d 0a 09 2f 2f 20 |lse;...}|.....// |
|000028f0| 52 65 2d 7a 65 72 6f 20 | 6d 75 6c 74 69 20 6b 69 |Re-zero |multi ki|
|00002900| 6c 6c 20 6c 65 76 65 6c | 20 77 68 65 6e 65 76 65 |ll level| wheneve|
|00002910| 72 20 79 6f 75 20 74 72 | 61 6e 73 66 6f 72 6d 0d |r you tr|ansform.|
|00002920| 0a 09 75 50 72 65 64 20 | 3d 20 55 6e 72 65 61 6c |..uPred |= Unreal|
|00002930| 50 6c 61 79 65 72 28 50 | 72 65 64 29 3b 0d 0a 09 |Player(P|red);...|
|00002940| 69 66 28 75 50 72 65 64 | 20 21 3d 20 4e 6f 6e 65 |if(uPred| != None|
|00002950| 29 0d 0a 09 09 75 50 72 | 65 64 2e 4d 75 6c 74 69 |)....uPr|ed.Multi|
|00002960| 4b 69 6c 6c 4c 65 76 65 | 6c 20 3d 20 30 3b 0d 0a |KillLeve|l = 0;..|
|00002970| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 4e 6f |}....fun|ction No|
|00002980| 74 69 66 79 4b 69 6c 6c | 65 64 28 43 6f 6e 74 72 |tifyKill|ed(Contr|
|00002990| 6f 6c 6c 65 72 20 4b 69 | 6c 6c 65 72 2c 20 43 6f |oller Ki|ller, Co|
|000029a0| 6e 74 72 6f 6c 6c 65 72 | 20 4f 74 68 65 72 2c 20 |ntroller| Other, |
|000029b0| 50 61 77 6e 20 4f 74 68 | 65 72 50 61 77 6e 29 0d |Pawn Oth|erPawn).|
|000029c0| 0a 7b 0d 0a 09 6c 6f 63 | 61 6c 20 78 50 61 77 6e |.{...loc|al xPawn|
|000029d0| 20 78 4b 69 6c 6c 65 72 | 2c 20 78 4f 74 68 65 72 | xKiller|, xOther|
|000029e0| 3b 0d 0a 0d 0a 09 53 75 | 70 65 72 2e 4e 6f 74 69 |;.....Su|per.Noti|
|000029f0| 66 79 4b 69 6c 6c 65 64 | 28 4b 69 6c 6c 65 72 2c |fyKilled|(Killer,|
|00002a00| 20 4f 74 68 65 72 2c 20 | 4f 74 68 65 72 50 61 77 | Other, |OtherPaw|
|00002a10| 6e 29 3b 0d 0a 0d 0a 09 | 2f 2f 20 49 66 20 6e 6f |n);.....|// If no|
|00002a20| 2d 6f 6e 65 20 64 69 65 | 64 20 2d 20 6e 6f 20 6e |-one die|d - no n|
|00002a30| 6f 74 68 69 6e 67 0d 0a | 09 69 66 28 4f 74 68 65 |othing..|.if(Othe|
|00002a40| 72 20 3d 3d 20 4e 6f 6e | 65 29 0d 0a 09 09 72 65 |r == Non|e)....re|
|00002a50| 74 75 72 6e 3b 0d 0a 0d | 0a 09 2f 2f 20 47 65 74 |turn;...|..// Get|
|00002a60| 20 78 50 61 77 6e 73 20 | 69 6e 76 6f 6c 76 65 64 | xPawns |involved|
|00002a70| 0d 0a 09 69 66 28 4f 74 | 68 65 72 2e 50 61 77 6e |...if(Ot|her.Pawn|
|00002a80| 20 21 3d 20 4e 6f 6e 65 | 29 0d 0a 09 09 78 4f 74 | != None|)....xOt|
|00002a90| 68 65 72 20 3d 20 78 50 | 61 77 6e 28 4f 74 68 65 |her = xP|awn(Othe|
|00002aa0| 72 2e 50 61 77 6e 29 3b | 0d 0a 0d 0a 09 69 66 28 |r.Pawn);|.....if(|
|00002ab0| 4b 69 6c 6c 65 72 20 21 | 3d 20 4e 6f 6e 65 20 26 |Killer !|= None &|
|00002ac0| 26 20 4b 69 6c 6c 65 72 | 2e 50 61 77 6e 20 21 3d |& Killer|.Pawn !=|
|00002ad0| 20 4e 6f 6e 65 29 0d 0a | 09 09 78 4b 69 6c 6c 65 | None)..|..xKille|
|00002ae0| 72 20 3d 20 78 50 61 77 | 6e 28 4b 69 6c 6c 65 72 |r = xPaw|n(Killer|
|00002af0| 2e 50 61 77 6e 29 3b 0d | 0a 0d 0a 09 2f 2f 20 49 |.Pawn);.|....// I|
|00002b00| 66 20 74 68 65 72 65 20 | 77 61 73 20 6e 6f 20 4d |f there |was no M|
|00002b10| 75 74 61 6e 74 20 28 69 | 65 20 77 65 72 65 20 69 |utant (i|e were i|
|00002b20| 6e 20 46 46 41 29 0d 0a | 09 69 66 28 20 43 75 72 |n FFA)..|.if( Cur|
|00002b30| 72 65 6e 74 4d 75 74 61 | 6e 74 20 3d 3d 20 4e 6f |rentMuta|nt == No|
|00002b40| 6e 65 20 29 0d 0a 09 7b | 0d 0a 09 09 2f 2f 20 41 |ne )...{|....// A|
|00002b50| 73 20 6c 6f 6e 67 20 61 | 73 20 74 68 69 73 20 77 |s long a|s this w|
|00002b60| 61 73 6e 27 74 20 61 20 | 73 75 69 63 69 64 65 2c |asn't a |suicide,|
|00002b70| 20 61 6e 64 20 74 68 65 | 20 6b 69 6c 6c 65 72 20 | and the| killer |
|00002b80| 69 73 20 73 74 69 6c 6c | 20 61 6c 69 76 65 2c 20 |is still| alive, |
|00002b90| 6d 61 6b 65 20 74 68 65 | 20 6b 69 6c 6c 65 72 20 |make the| killer |
|00002ba0| 74 68 65 20 4d 75 74 61 | 6e 74 2e 0d 0a 09 09 69 |the Muta|nt.....i|
|00002bb0| 66 28 4b 69 6c 6c 65 72 | 20 21 3d 20 4e 6f 6e 65 |f(Killer| != None|
|00002bc0| 20 26 26 20 4b 69 6c 6c | 65 72 20 21 3d 20 4f 74 | && Kill|er != Ot|
|00002bd0| 68 65 72 20 26 26 20 78 | 4b 69 6c 6c 65 72 20 21 |her && x|Killer !|
|00002be0| 3d 20 4e 6f 6e 65 20 26 | 26 20 78 4b 69 6c 6c 65 |= None &|& xKille|
|00002bf0| 72 2e 48 65 61 6c 74 68 | 20 3e 20 30 29 0d 0a 09 |r.Health| > 0)...|
|00002c00| 09 7b 0d 0a 09 09 09 43 | 75 72 72 65 6e 74 4d 75 |.{.....C|urrentMu|
|00002c10| 74 61 6e 74 20 3d 20 4b | 69 6c 6c 65 72 3b 0d 0a |tant = K|iller;..|
|00002c20| 09 09 09 4d 75 74 61 6e | 74 47 61 6d 65 52 65 70 |...Mutan|tGameRep|
|00002c30| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 28 47 61 6d |lication|Info(Gam|
|00002c40| 65 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |eReplica|tionInfo|
|00002c50| 29 2e 4d 75 74 61 6e 74 | 50 52 49 20 3d 20 43 75 |).Mutant|PRI = Cu|
|00002c60| 72 72 65 6e 74 4d 75 74 | 61 6e 74 2e 50 6c 61 79 |rrentMut|ant.Play|
|00002c70| 65 72 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |erReplic|ationInf|
|00002c80| 6f 3b 0d 0a 09 09 09 53 | 65 74 4d 75 74 61 6e 74 |o;.....S|etMutant|
|00002c90| 28 4b 69 6c 6c 65 72 2c | 20 78 4b 69 6c 6c 65 72 |(Killer,| xKiller|
|00002ca0| 2c 20 74 72 75 65 29 3b | 0d 0a 0d 0a 09 09 09 53 |, true);|.......S|
|00002cb0| 65 6e 64 41 6c 6c 43 75 | 72 72 65 6e 74 4d 75 74 |endAllCu|rrentMut|
|00002cc0| 61 6e 74 4d 65 73 73 61 | 67 65 28 29 3b 0d 0a 09 |antMessa|ge();...|
|00002cd0| 09 7d 0d 0a 09 7d 0d 0a | 09 2f 2f 20 49 66 20 69 |.}...}..|.// If i|
|00002ce0| 74 20 77 61 73 20 74 68 | 65 20 4d 75 74 61 6e 74 |t was th|e Mutant|
|00002cf0| 20 74 68 61 74 20 77 61 | 73 20 6b 69 6c 6c 65 64 | that wa|s killed|
|00002d00| 2c 20 64 65 63 69 64 65 | 20 77 68 61 74 20 74 6f |, decide| what to|
|00002d10| 20 64 6f 2e 0d 0a 09 65 | 6c 73 65 20 69 66 28 20 | do....e|lse if( |
|00002d20| 4f 74 68 65 72 20 3d 3d | 20 43 75 72 72 65 6e 74 |Other ==| Current|
|00002d30| 4d 75 74 61 6e 74 20 29 | 0d 0a 09 7b 0d 0a 09 09 |Mutant )|...{....|
|00002d40| 2f 2f 20 49 66 20 74 68 | 65 20 4d 75 74 61 6e 74 |// If th|e Mutant|
|00002d50| 20 6b 69 6c 6c 65 64 20 | 74 68 65 6d 73 65 6c 76 | killed |themselv|
|00002d60| 65 73 20 6f 72 20 73 75 | 69 63 69 64 65 64 2c 20 |es or su|icided, |
|00002d70| 65 6e 74 65 72 20 46 46 | 41 20 61 67 61 69 6e 0d |enter FF|A again.|
|00002d80| 0a 09 09 69 66 28 20 4b | 69 6c 6c 65 72 20 3d 3d |...if( K|iller ==|
|00002d90| 20 4e 6f 6e 65 20 7c 7c | 20 4b 69 6c 6c 65 72 20 | None ||| Killer |
|00002da0| 3d 3d 20 4f 74 68 65 72 | 20 29 0d 0a 09 09 7b 0d |== Other| )....{.|
|00002db0| 0a 09 09 09 43 75 72 72 | 65 6e 74 4d 75 74 61 6e |....Curr|entMutan|
|00002dc0| 74 20 3d 20 4e 6f 6e 65 | 3b 0d 0a 09 09 09 4d 75 |t = None|;.....Mu|
|00002dd0| 74 61 6e 74 47 61 6d 65 | 52 65 70 6c 69 63 61 74 |tantGame|Replicat|
|00002de0| 69 6f 6e 49 6e 66 6f 28 | 47 61 6d 65 52 65 70 6c |ionInfo(|GameRepl|
|00002df0| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 29 2e 4d 75 74 |icationI|nfo).Mut|
|00002e00| 61 6e 74 50 52 49 20 3d | 20 4e 6f 6e 65 3b 0d 0a |antPRI =| None;..|
|00002e10| 09 09 09 53 65 74 4d 75 | 74 61 6e 74 28 4f 74 68 |...SetMu|tant(Oth|
|00002e20| 65 72 2c 20 78 4f 74 68 | 65 72 2c 20 66 61 6c 73 |er, xOth|er, fals|
|00002e30| 65 29 3b 0d 0a 0d 0a 09 | 09 09 53 65 6e 64 41 6c |e);.....|..SendAl|
|00002e40| 6c 43 75 72 72 65 6e 74 | 4d 75 74 61 6e 74 4d 65 |lCurrent|MutantMe|
|00002e50| 73 73 61 67 65 28 29 3b | 0d 0a 09 09 7d 0d 0a 09 |ssage();|....}...|
|00002e60| 09 65 6c 73 65 20 69 66 | 28 78 4b 69 6c 6c 65 72 |.else if|(xKiller|
|00002e70| 20 21 3d 20 4e 6f 6e 65 | 20 26 26 20 78 4b 69 6c | != None| && xKil|
|00002e80| 6c 65 72 2e 48 65 61 6c | 74 68 20 3e 20 30 29 20 |ler.Heal|th > 0) |
|00002e90| 2f 2f 20 4d 61 6b 65 20 | 74 68 65 20 6b 69 6c 6c |// Make |the kill|
|00002ea0| 65 72 20 74 68 65 20 6d | 75 74 61 6e 74 20 2d 20 |er the m|utant - |
|00002eb0| 69 66 20 74 68 65 79 20 | 61 72 65 20 73 74 69 6c |if they |are stil|
|00002ec0| 6c 20 61 6c 69 76 65 0d | 0a 09 09 7b 0d 0a 09 09 |l alive.|...{....|
|00002ed0| 09 53 65 74 4d 75 74 61 | 6e 74 28 4f 74 68 65 72 |.SetMuta|nt(Other|
|00002ee0| 2c 20 78 4f 74 68 65 72 | 2c 20 66 61 6c 73 65 29 |, xOther|, false)|
|00002ef0| 3b 0d 0a 0d 0a 09 09 09 | 43 75 72 72 65 6e 74 4d |;.......|CurrentM|
|00002f00| 75 74 61 6e 74 20 3d 20 | 4b 69 6c 6c 65 72 3b 0d |utant = |Killer;.|
|00002f10| 0a 09 09 09 4d 75 74 61 | 6e 74 47 61 6d 65 52 65 |....Muta|ntGameRe|
|00002f20| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 28 47 61 |plicatio|nInfo(Ga|
|00002f30| 6d 65 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |meReplic|ationInf|
|00002f40| 6f 29 2e 4d 75 74 61 6e | 74 50 52 49 20 3d 20 43 |o).Mutan|tPRI = C|
|00002f50| 75 72 72 65 6e 74 4d 75 | 74 61 6e 74 2e 50 6c 61 |urrentMu|tant.Pla|
|00002f60| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00002f70| 66 6f 3b 0d 0a 09 09 09 | 53 65 74 4d 75 74 61 6e |fo;.....|SetMutan|
|00002f80| 74 28 4b 69 6c 6c 65 72 | 2c 20 78 4b 69 6c 6c 65 |t(Killer|, xKille|
|00002f90| 72 2c 20 74 72 75 65 29 | 3b 0d 0a 0d 0a 09 09 09 |r, true)|;.......|
|00002fa0| 53 65 6e 64 41 6c 6c 43 | 75 72 72 65 6e 74 4d 75 |SendAllC|urrentMu|
|00002fb0| 74 61 6e 74 4d 65 73 73 | 61 67 65 28 29 3b 0d 0a |tantMess|age();..|
|00002fc0| 09 09 7d 0d 0a 09 09 65 | 6c 73 65 20 2f 2f 20 4d |..}....e|lse // M|
|00002fd0| 75 74 75 61 6c 20 6b 69 | 6c 6c 20 2d 20 66 72 65 |utual ki|ll - fre|
|00002fe0| 65 20 66 6f 72 20 61 6c | 6c 0d 0a 09 09 7b 0d 0a |e for al|l....{..|
|00002ff0| 09 09 09 43 75 72 72 65 | 6e 74 4d 75 74 61 6e 74 |...Curre|ntMutant|
|00003000| 20 3d 20 4e 6f 6e 65 3b | 0d 0a 09 09 09 4d 75 74 | = None;|.....Mut|
|00003010| 61 6e 74 47 61 6d 65 52 | 65 70 6c 69 63 61 74 69 |antGameR|eplicati|
|00003020| 6f 6e 49 6e 66 6f 28 47 | 61 6d 65 52 65 70 6c 69 |onInfo(G|ameRepli|
|00003030| 63 61 74 69 6f 6e 49 6e | 66 6f 29 2e 4d 75 74 61 |cationIn|fo).Muta|
|00003040| 6e 74 50 52 49 20 3d 20 | 4e 6f 6e 65 3b 0d 0a 09 |ntPRI = |None;...|
|00003050| 09 09 53 65 74 4d 75 74 | 61 6e 74 28 4f 74 68 65 |..SetMut|ant(Othe|
|00003060| 72 2c 20 78 4f 74 68 65 | 72 2c 20 66 61 6c 73 65 |r, xOthe|r, false|
|00003070| 29 3b 0d 0a 0d 0a 09 09 | 09 53 65 6e 64 41 6c 6c |);......|.SendAll|
|00003080| 43 75 72 72 65 6e 74 4d | 75 74 61 6e 74 4d 65 73 |CurrentM|utantMes|
|00003090| 73 61 67 65 28 29 3b 0d | 0a 09 09 7d 0d 0a 09 7d |sage();.|...}...}|
|000030a0| 0d 0a 09 65 6c 73 65 0d | 0a 09 7b 0d 0a 09 09 2f |...else.|..{..../|
|000030b0| 2f 20 49 66 20 74 68 69 | 73 20 74 68 65 20 4d 75 |/ If thi|s the Mu|
|000030c0| 74 61 6e 74 20 6b 69 6c | 6c 69 6e 67 20 61 6e 6f |tant kil|ling ano|
|000030d0| 74 68 65 72 20 70 6c 61 | 79 65 72 2c 20 67 69 76 |ther pla|yer, giv|
|000030e0| 65 20 74 68 65 6d 20 62 | 61 63 6b 20 73 6f 6d 65 |e them b|ack some|
|000030f0| 20 68 65 61 6c 74 68 2e | 0d 0a 09 09 69 66 28 4b | health.|....if(K|
|00003100| 69 6c 6c 65 72 20 3d 3d | 20 43 75 72 72 65 6e 74 |iller ==| Current|
|00003110| 4d 75 74 61 6e 74 20 26 | 26 20 4f 74 68 65 72 2e |Mutant &|& Other.|
|00003120| 62 49 73 50 6c 61 79 65 | 72 29 0d 0a 09 09 7b 0d |bIsPlaye|r)....{.|
|00003130| 0a 09 09 09 78 4b 69 6c | 6c 65 72 2e 47 69 76 65 |....xKil|ler.Give|
|00003140| 48 65 61 6c 74 68 28 4d | 75 74 61 6e 74 4b 69 6c |Health(M|utantKil|
|00003150| 6c 48 65 61 6c 74 68 42 | 6f 6e 75 73 2c 20 31 35 |lHealthB|onus, 15|
|00003160| 30 29 3b 0d 0a 09 09 7d | 0d 0a 09 7d 0d 0a 0d 0a |0);....}|...}....|
|00003170| 09 2f 2f 20 55 70 64 61 | 74 65 20 6c 69 73 74 20 |.// Upda|te list |
|00003180| 6f 66 20 62 6f 74 74 6f | 6d 20 70 6c 61 79 65 72 |of botto|m player|
|00003190| 73 20 77 68 65 6e 20 73 | 6f 6d 65 6f 6e 65 20 73 |s when s|omeone s|
|000031a0| 63 6f 72 65 73 0d 0a 09 | 55 70 64 61 74 65 42 6f |cores...|UpdateBo|
|000031b0| 74 74 6f 6d 46 65 65 64 | 65 72 28 29 3b 0d 0a 7d |ttomFeed|er();..}|
|000031c0| 0d 0a 0d 0a 0d 0a 0d 0a | 0d 0a 2f 2f 20 44 6f 6e |........|..// Don|
|000031d0| 27 74 20 6c 65 74 20 74 | 68 65 20 4d 75 74 61 6e |'t let t|he Mutan|
|000031e0| 74 20 70 69 63 6b 20 75 | 70 20 61 64 72 65 6e 61 |t pick u|p adrena|
|000031f0| 6c 69 6e 65 2c 20 68 65 | 61 6c 74 68 20 6f 72 20 |line, he|alth or |
|00003200| 61 72 6d 6f 72 2e 0d 0a | 66 75 6e 63 74 69 6f 6e |armor...|function|
|00003210| 20 62 6f 6f 6c 20 50 69 | 63 6b 75 70 51 75 65 72 | bool Pi|ckupQuer|
|00003220| 79 28 20 50 61 77 6e 20 | 4f 74 68 65 72 2c 20 50 |y( Pawn |Other, P|
|00003230| 69 63 6b 75 70 20 69 74 | 65 6d 20 29 0d 0a 7b 0d |ickup it|em )..{.|
|00003240| 0a 20 20 20 20 6c 6f 63 | 61 6c 20 62 79 74 65 20 |. loc|al byte |
|00003250| 62 41 6c 6c 6f 77 50 69 | 63 6b 75 70 3b 0d 0a 0d |bAllowPi|ckup;...|
|00003260| 0a 09 69 66 28 4f 74 68 | 65 72 2e 43 6f 6e 74 72 |..if(Oth|er.Contr|
|00003270| 6f 6c 6c 65 72 20 3d 3d | 20 43 75 72 72 65 6e 74 |oller ==| Current|
|00003280| 4d 75 74 61 6e 74 29 0d | 0a 09 7b 0d 0a 09 09 2f |Mutant).|..{..../|
|00003290| 2f 69 66 28 20 69 74 65 | 6d 2e 49 73 41 28 27 41 |/if( ite|m.IsA('A|
|000032a0| 64 72 65 6e 61 6c 69 6e | 65 50 69 63 6b 75 70 27 |drenalin|ePickup'|
|000032b0| 29 20 7c 7c 20 69 74 65 | 6d 2e 49 73 41 28 27 55 |) || ite|m.IsA('U|
|000032c0| 44 61 6d 61 67 65 50 61 | 63 6b 27 29 20 29 0d 0a |DamagePa|ck') )..|
|000032d0| 09 09 69 66 28 20 69 74 | 65 6d 2e 49 73 41 28 27 |..if( it|em.IsA('|
|000032e0| 41 64 72 65 6e 61 6c 69 | 6e 65 50 69 63 6b 75 70 |Adrenali|nePickup|
|000032f0| 27 29 20 7c 7c 20 69 74 | 65 6d 2e 49 73 41 28 27 |') || it|em.IsA('|
|00003300| 55 44 61 6d 61 67 65 50 | 61 63 6b 27 29 20 7c 7c |UDamageP|ack') |||
|00003310| 20 69 74 65 6d 2e 49 73 | 41 28 27 54 6f 75 72 6e | item.Is|A('Tourn|
|00003320| 61 6d 65 6e 74 48 65 61 | 6c 74 68 27 29 20 7c 7c |amentHea|lth') |||
|00003330| 20 69 74 65 6d 2e 49 73 | 41 28 27 53 68 69 65 6c | item.Is|A('Shiel|
|00003340| 64 50 69 63 6b 75 70 27 | 29 20 29 0d 0a 09 09 09 |dPickup'|) ).....|
|00003350| 72 65 74 75 72 6e 20 66 | 61 6c 73 65 3b 0d 0a 09 |return f|alse;...|
|00003360| 7d 0d 0a 0d 0a 20 20 20 | 20 69 66 20 28 20 28 47 |}.... | if ( (G|
|00003370| 61 6d 65 52 75 6c 65 73 | 4d 6f 64 69 66 69 65 72 |ameRules|Modifier|
|00003380| 73 20 21 3d 20 4e 6f 6e | 65 29 20 26 26 20 47 61 |s != Non|e) && Ga|
|00003390| 6d 65 52 75 6c 65 73 4d | 6f 64 69 66 69 65 72 73 |meRulesM|odifiers|
|000033a0| 2e 4f 76 65 72 72 69 64 | 65 50 69 63 6b 75 70 51 |.Overrid|ePickupQ|
|000033b0| 75 65 72 79 28 4f 74 68 | 65 72 2c 20 69 74 65 6d |uery(Oth|er, item|
|000033c0| 2c 20 62 41 6c 6c 6f 77 | 50 69 63 6b 75 70 29 20 |, bAllow|Pickup) |
|000033d0| 29 0d 0a 20 20 20 20 20 | 20 20 20 72 65 74 75 72 |).. | retur|
|000033e0| 6e 20 28 62 41 6c 6c 6f | 77 50 69 63 6b 75 70 20 |n (bAllo|wPickup |
|000033f0| 3d 3d 20 31 29 3b 0d 0a | 0d 0a 20 20 20 20 69 66 |== 1);..|.. if|
|00003400| 20 28 20 4f 74 68 65 72 | 2e 49 6e 76 65 6e 74 6f | ( Other|.Invento|
|00003410| 72 79 20 3d 3d 20 4e 6f | 6e 65 20 29 0d 0a 20 20 |ry == No|ne ).. |
|00003420| 20 20 20 20 20 20 72 65 | 74 75 72 6e 20 74 72 75 | re|turn tru|
|00003430| 65 3b 0d 0a 20 20 20 20 | 65 6c 73 65 0d 0a 20 20 |e;.. |else.. |
|00003440| 20 20 20 20 20 20 72 65 | 74 75 72 6e 20 21 4f 74 | re|turn !Ot|
|00003450| 68 65 72 2e 49 6e 76 65 | 6e 74 6f 72 79 2e 48 61 |her.Inve|ntory.Ha|
|00003460| 6e 64 6c 65 50 69 63 6b | 75 70 51 75 65 72 79 28 |ndlePick|upQuery(|
|00003470| 49 74 65 6d 29 3b 0d 0a | 7d 0d 0a 0d 0a 2f 2f 20 |Item);..|}....// |
|00003480| 73 65 65 20 69 66 20 74 | 68 69 73 20 73 63 6f 72 |see if t|his scor|
|00003490| 65 20 6d 65 61 6e 73 20 | 74 68 65 20 67 61 6d 65 |e means |the game|
|000034a0| 20 65 6e 64 73 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 | ends..f|unction |
|000034b0| 43 68 65 63 6b 53 63 6f | 72 65 28 50 6c 61 79 65 |CheckSco|re(Playe|
|000034c0| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|000034d0| 20 53 63 6f 72 65 72 29 | 0d 0a 7b 0d 0a 09 69 66 | Scorer)|..{...if|
|000034e0| 20 28 20 43 68 65 63 6b | 4d 61 78 4c 69 76 65 73 | ( Check|MaxLives|
|000034f0| 28 53 63 6f 72 65 72 29 | 20 29 0d 0a 09 09 72 65 |(Scorer)| )....re|
|00003500| 74 75 72 6e 3b 0d 0a 0d | 0a 20 20 20 20 69 66 20 |turn;...|. if |
|00003510| 28 20 28 47 61 6d 65 52 | 75 6c 65 73 4d 6f 64 69 |( (GameR|ulesModi|
|00003520| 66 69 65 72 73 20 21 3d | 20 4e 6f 6e 65 29 20 26 |fiers !=| None) &|
|00003530| 26 20 47 61 6d 65 52 75 | 6c 65 73 4d 6f 64 69 66 |& GameRu|lesModif|
|00003540| 69 65 72 73 2e 43 68 65 | 63 6b 53 63 6f 72 65 28 |iers.Che|ckScore(|
|00003550| 53 63 6f 72 65 72 29 20 | 29 0d 0a 20 20 20 20 20 |Scorer) |).. |
|00003560| 20 20 20 72 65 74 75 72 | 6e 3b 0d 0a 0d 0a 20 20 | retur|n;.... |
|00003570| 20 20 69 66 20 28 20 28 | 53 63 6f 72 65 72 20 21 | if ( (|Scorer !|
|00003580| 3d 20 4e 6f 6e 65 29 20 | 26 26 20 28 62 4f 76 65 |= None) |&& (bOve|
|00003590| 72 54 69 6d 65 20 7c 7c | 20 28 47 6f 61 6c 53 63 |rTime ||| (GoalSc|
|000035a0| 6f 72 65 20 3e 20 30 29 | 29 20 26 26 20 28 53 63 |ore > 0)|) && (Sc|
|000035b0| 6f 72 65 72 2e 53 63 6f | 72 65 20 3e 3d 20 47 6f |orer.Sco|re >= Go|
|000035c0| 61 6c 53 63 6f 72 65 29 | 20 29 0d 0a 20 20 20 20 |alScore)| ).. |
|000035d0| 20 20 20 20 45 6e 64 47 | 61 6d 65 28 53 63 6f 72 | EndG|ame(Scor|
|000035e0| 65 72 2c 22 66 72 61 67 | 6c 69 6d 69 74 22 29 3b |er,"frag|limit");|
|000035f0| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|00003600| 53 63 6f 72 65 4b 69 6c | 6c 28 43 6f 6e 74 72 6f |ScoreKil|l(Contro|
|00003610| 6c 6c 65 72 20 4b 69 6c | 6c 65 72 2c 20 43 6f 6e |ller Kil|ler, Con|
|00003620| 74 72 6f 6c 6c 65 72 20 | 4f 74 68 65 72 29 0d 0a |troller |Other)..|
|00003630| 7b 0d 0a 09 6c 6f 63 61 | 6c 20 50 6c 61 79 65 72 |{...loca|l Player|
|00003640| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 20 |Replicat|ionInfo |
|00003650| 4f 74 68 65 72 50 52 49 | 3b 0d 0a 09 6c 6f 63 61 |OtherPRI|;...loca|
|00003660| 6c 20 55 6e 72 65 61 6c | 50 6c 61 79 65 72 20 75 |l Unreal|Player u|
|00003670| 4b 69 6c 6c 65 72 3b 0d | 0a 09 6c 6f 63 61 6c 20 |Killer;.|..local |
|00003680| 69 6e 74 20 4b 69 6c 6c | 53 63 6f 72 65 3b 0d 0a |int Kill|Score;..|
|00003690| 0d 0a 09 2f 2f 20 43 68 | 65 63 6b 20 69 66 20 77 |...// Ch|eck if w|
|000036a0| 65 20 68 61 76 65 20 75 | 73 65 64 20 75 70 20 61 |e have u|sed up a|
|000036b0| 6c 6c 20 6f 75 72 20 6c | 69 76 65 73 0d 0a 09 4f |ll our l|ives...O|
|000036c0| 74 68 65 72 50 52 49 20 | 3d 20 4f 74 68 65 72 2e |therPRI |= Other.|
|000036d0| 50 6c 61 79 65 72 52 65 | 70 6c 69 63 61 74 69 6f |PlayerRe|plicatio|
|000036e0| 6e 49 6e 66 6f 3b 0d 0a | 20 20 20 20 69 66 20 28 |nInfo;..| if (|
|000036f0| 20 4f 74 68 65 72 50 52 | 49 20 21 3d 20 4e 6f 6e | OtherPR|I != Non|
|00003700| 65 20 29 0d 0a 20 20 20 | 20 7b 0d 0a 20 20 20 20 |e ).. | {.. |
|00003710| 20 20 20 20 4f 74 68 65 | 72 50 52 49 2e 4e 75 6d | Othe|rPRI.Num|
|00003720| 4c 69 76 65 73 2b 2b 3b | 0d 0a 20 20 20 20 20 20 |Lives++;|.. |
|00003730| 20 20 69 66 20 28 20 28 | 4d 61 78 4c 69 76 65 73 | if ( (|MaxLives|
|00003740| 20 3e 20 30 29 20 26 26 | 20 28 4f 74 68 65 72 50 | > 0) &&| (OtherP|
|00003750| 52 49 2e 4e 75 6d 4c 69 | 76 65 73 20 3e 3d 4d 61 |RI.NumLi|ves >=Ma|
|00003760| 78 4c 69 76 65 73 29 20 | 29 0d 0a 20 20 20 20 20 |xLives) |).. |
|00003770| 20 20 20 20 20 20 20 4f | 74 68 65 72 50 52 49 2e | O|therPRI.|
|00003780| 62 4f 75 74 4f 66 4c 69 | 76 65 73 20 3d 20 74 72 |bOutOfLi|ves = tr|
|00003790| 75 65 3b 0d 0a 20 20 20 | 20 7d 0d 0a 0d 0a 09 2f |ue;.. | }...../|
|000037a0| 2f 20 44 6f 20 73 75 69 | 74 61 62 6c 65 20 74 61 |/ Do sui|table ta|
|000037b0| 75 6e 74 21 0d 0a 09 69 | 66 20 28 20 62 41 6c 6c |unt!...i|f ( bAll|
|000037c0| 6f 77 54 61 75 6e 74 73 | 20 26 26 20 28 4b 69 6c |owTaunts| && (Kil|
|000037d0| 6c 65 72 20 21 3d 20 4e | 6f 6e 65 29 20 26 26 20 |ler != N|one) && |
|000037e0| 28 4b 69 6c 6c 65 72 20 | 21 3d 20 4f 74 68 65 72 |(Killer |!= Other|
|000037f0| 29 20 26 26 20 4b 69 6c | 6c 65 72 2e 41 75 74 6f |) && Kil|ler.Auto|
|00003800| 54 61 75 6e 74 28 29 0d | 0a 09 09 26 26 20 28 4b |Taunt().|...&& (K|
|00003810| 69 6c 6c 65 72 2e 50 6c | 61 79 65 72 52 65 70 6c |iller.Pl|ayerRepl|
|00003820| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 20 21 3d 20 4e |icationI|nfo != N|
|00003830| 6f 6e 65 29 20 26 26 20 | 28 4b 69 6c 6c 65 72 2e |one) && |(Killer.|
|00003840| 50 6c 61 79 65 72 52 65 | 70 6c 69 63 61 74 69 6f |PlayerRe|plicatio|
|00003850| 6e 49 6e 66 6f 2e 56 6f | 69 63 65 54 79 70 65 20 |nInfo.Vo|iceType |
|00003860| 21 3d 20 4e 6f 6e 65 29 | 20 29 0d 0a 09 7b 0d 0a |!= None)| )...{..|
|00003870| 09 09 69 66 28 20 4b 69 | 6c 6c 65 72 2e 49 73 41 |..if( Ki|ller.IsA|
|00003880| 28 27 50 6c 61 79 65 72 | 43 6f 6e 74 72 6f 6c 6c |('Player|Controll|
|00003890| 65 72 27 29 20 29 0d 0a | 09 09 09 4b 69 6c 6c 65 |er') )..|...Kille|
|000038a0| 72 2e 53 65 6e 64 4d 65 | 73 73 61 67 65 28 4f 74 |r.SendMe|ssage(Ot|
|000038b0| 68 65 72 50 52 49 2c 20 | 27 41 55 54 4f 54 41 55 |herPRI, |'AUTOTAU|
|000038c0| 4e 54 27 2c 20 4b 69 6c | 6c 65 72 2e 50 6c 61 79 |NT', Kil|ler.Play|
|000038d0| 65 72 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |erReplic|ationInf|
|000038e0| 6f 2e 56 6f 69 63 65 54 | 79 70 65 2e 73 74 61 74 |o.VoiceT|ype.stat|
|000038f0| 69 63 2e 50 69 63 6b 52 | 61 6e 64 6f 6d 54 61 75 |ic.PickR|andomTau|
|00003900| 6e 74 46 6f 72 28 4b 69 | 6c 6c 65 72 2c 20 66 61 |ntFor(Ki|ller, fa|
|00003910| 6c 73 65 2c 20 66 61 6c | 73 65 29 2c 20 31 30 2c |lse, fal|se), 10,|
|00003920| 20 27 47 4c 4f 42 41 4c | 27 29 3b 0d 0a 09 09 65 | 'GLOBAL|');....e|
|00003930| 6c 73 65 0d 0a 09 09 09 | 4b 69 6c 6c 65 72 2e 53 |lse.....|Killer.S|
|00003940| 65 6e 64 4d 65 73 73 61 | 67 65 28 4f 74 68 65 72 |endMessa|ge(Other|
|00003950| 50 52 49 2c 20 27 41 55 | 54 4f 54 41 55 4e 54 27 |PRI, 'AU|TOTAUNT'|
|00003960| 2c 20 4b 69 6c 6c 65 72 | 2e 50 6c 61 79 65 72 52 |, Killer|.PlayerR|
|00003970| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2e 56 |eplicati|onInfo.V|
|00003980| 6f 69 63 65 54 79 70 65 | 2e 73 74 61 74 69 63 2e |oiceType|.static.|
|00003990| 50 69 63 6b 52 61 6e 64 | 6f 6d 54 61 75 6e 74 46 |PickRand|omTauntF|
|000039a0| 6f 72 28 4b 69 6c 6c 65 | 72 2c 20 66 61 6c 73 65 |or(Kille|r, false|
|000039b0| 2c 20 74 72 75 65 29 2c | 20 31 30 2c 20 27 47 4c |, true),| 10, 'GL|
|000039c0| 4f 42 41 4c 27 29 3b 0d | 0a 09 7d 0d 0a 0d 0a 09 |OBAL');.|..}.....|
|000039d0| 2f 2f 20 53 63 6f 72 65 | 20 6e 65 67 61 74 69 76 |// Score| negativ|
|000039e0| 65 20 66 6f 72 20 73 75 | 69 63 69 64 65 0d 0a 20 |e for su|icide.. |
|000039f0| 20 20 20 69 66 28 20 28 | 6b 69 6c 6c 65 72 20 3d | if( (|killer =|
|00003a00| 3d 20 4f 74 68 65 72 29 | 20 7c 7c 20 28 6b 69 6c |= Other)| || (kil|
|00003a10| 6c 65 72 20 3d 3d 20 4e | 6f 6e 65 29 20 29 0d 0a |ler == N|one) )..|
|00003a20| 09 7b 0d 0a 09 09 69 66 | 20 28 20 4f 74 68 65 72 |.{....if| ( Other|
|00003a30| 50 52 49 20 21 3d 20 4e | 6f 6e 65 20 29 0d 0a 09 |PRI != N|one )...|
|00003a40| 09 7b 0d 0a 09 09 09 69 | 66 28 4f 74 68 65 72 20 |.{.....i|f(Other |
|00003a50| 3d 3d 20 43 75 72 72 65 | 6e 74 4d 75 74 61 6e 74 |== Curre|ntMutant|
|00003a60| 29 0d 0a 09 09 09 09 4f | 74 68 65 72 2e 50 6c 61 |)......O|ther.Pla|
|00003a70| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00003a80| 66 6f 2e 53 63 6f 72 65 | 20 2d 3d 20 4d 75 74 61 |fo.Score| -= Muta|
|00003a90| 6e 74 53 75 69 63 69 64 | 65 50 65 6e 61 6c 74 79 |ntSuicid|ePenalty|
|00003aa0| 3b 20 2f 2f 20 4d 75 74 | 61 6e 74 20 6c 6f 73 65 |; // Mut|ant lose|
|00003ab0| 73 20 61 20 74 68 69 72 | 64 20 6f 66 20 74 68 65 |s a thir|d of the|
|00003ac0| 69 72 20 73 63 6f 72 65 | 20 69 66 20 74 68 65 79 |ir score| if they|
|00003ad0| 20 73 75 69 63 69 64 65 | 0d 0a 09 09 09 65 6c 73 | suicide|.....els|
|00003ae0| 65 0d 0a 09 09 09 09 4f | 74 68 65 72 2e 50 6c 61 |e......O|ther.Pla|
|00003af0| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00003b00| 66 6f 2e 53 63 6f 72 65 | 20 2d 3d 20 42 61 73 65 |fo.Score| -= Base|
|00003b10| 4b 69 6c 6c 53 63 6f 72 | 65 3b 20 2f 2f 20 4f 72 |KillScor|e; // Or|
|00003b20| 64 69 6e 61 72 79 20 70 | 6c 61 79 65 72 73 20 6c |dinary p|layers l|
|00003b30| 6f 73 65 20 6e 6f 72 6d | 61 6c 20 6b 69 6c 6c 20 |ose norm|al kill |
|00003b40| 61 6d 6f 75 6e 74 0d 0a | 09 09 09 4f 74 68 65 72 |amount..|...Other|
|00003b50| 2e 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |.PlayerR|eplicati|
|00003b60| 6f 6e 49 6e 66 6f 2e 4e | 65 74 55 70 64 61 74 65 |onInfo.N|etUpdate|
|00003b70| 54 69 6d 65 20 3d 20 4c | 65 76 65 6c 2e 54 69 6d |Time = L|evel.Tim|
|00003b80| 65 53 65 63 6f 6e 64 73 | 20 2d 20 31 3b 0d 0a 09 |eSeconds| - 1;...|
|00003b90| 09 09 69 66 20 28 47 61 | 6d 65 53 74 61 74 73 21 |..if (Ga|meStats!|
|00003ba0| 3d 4e 6f 6e 65 29 0d 0a | 09 09 09 09 47 61 6d 65 |=None)..|....Game|
|00003bb0| 53 74 61 74 73 2e 53 63 | 6f 72 65 45 76 65 6e 74 |Stats.Sc|oreEvent|
|00003bc0| 28 4f 74 68 65 72 2e 50 | 6c 61 79 65 72 52 65 70 |(Other.P|layerRep|
|00003bd0| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 2c 2d 31 2c |lication|Info,-1,|
|00003be0| 22 73 65 6c 66 5f 66 72 | 61 67 22 29 3b 0d 0a 09 |"self_fr|ag");...|
|00003bf0| 09 7d 0d 0a 09 7d 0d 0a | 20 20 20 20 65 6c 73 65 |.}...}..| else|
|00003c00| 20 69 66 20 28 20 6b 69 | 6c 6c 65 72 2e 50 6c 61 | if ( ki|ller.Pla|
|00003c10| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00003c20| 66 6f 20 21 3d 20 4e 6f | 6e 65 20 29 0d 0a 09 7b |fo != No|ne )...{|
|00003c30| 0d 0a 09 09 4b 69 6c 6c | 65 72 2e 50 6c 61 79 65 |....Kill|er.Playe|
|00003c40| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|00003c50| 2e 4e 65 74 55 70 64 61 | 74 65 54 69 6d 65 20 3d |.NetUpda|teTime =|
|00003c60| 20 4c 65 76 65 6c 2e 54 | 69 6d 65 53 65 63 6f 6e | Level.T|imeSecon|
|00003c70| 64 73 20 2d 20 31 3b 0d | 0a 09 09 69 66 28 43 75 |ds - 1;.|...if(Cu|
|00003c80| 72 72 65 6e 74 4d 75 74 | 61 6e 74 20 21 3d 20 4e |rrentMut|ant != N|
|00003c90| 6f 6e 65 29 20 2f 2f 20 | 4d 75 74 61 6e 74 20 70 |one) // |Mutant p|
|00003ca0| 72 65 73 65 6e 74 0d 0a | 09 09 7b 0d 0a 09 09 09 |resent..|..{.....|
|00003cb0| 69 66 28 4f 74 68 65 72 | 20 3d 3d 20 43 75 72 72 |if(Other| == Curr|
|00003cc0| 65 6e 74 4d 75 74 61 6e | 74 29 20 2f 2f 20 4d 75 |entMutan|t) // Mu|
|00003cd0| 74 61 6e 74 20 77 61 73 | 20 6b 69 6c 6c 65 64 0d |tant was| killed.|
|00003ce0| 0a 09 09 09 7b 0d 0a 09 | 09 09 09 69 66 20 28 20 |....{...|...if ( |
|00003cf0| 4f 74 68 65 72 50 52 49 | 20 21 3d 20 4e 6f 6e 65 |OtherPRI| != None|
|00003d00| 20 29 0d 0a 09 09 09 09 | 09 4b 69 6c 6c 53 63 6f | )......|.KillSco|
|00003d10| 72 65 20 3d 20 30 2e 35 | 20 2a 20 28 4f 74 68 65 |re = 0.5| * (Othe|
|00003d20| 72 50 52 49 2e 53 63 6f | 72 65 20 2d 20 4b 69 6c |rPRI.Sco|re - Kil|
|00003d30| 6c 65 72 2e 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |ler.Play|erReplic|
|00003d40| 61 74 69 6f 6e 49 6e 66 | 6f 2e 53 63 6f 72 65 29 |ationInf|o.Score)|
|00003d50| 3b 0d 0a 09 09 09 09 4b | 69 6c 6c 53 63 6f 72 65 |;......K|illScore|
|00003d60| 20 3d 20 4d 61 78 28 4b | 69 6c 6c 53 63 6f 72 65 | = Max(K|illScore|
|00003d70| 2c 20 42 61 73 65 4b 69 | 6c 6c 53 63 6f 72 65 29 |, BaseKi|llScore)|
|00003d80| 3b 0d 0a 0d 0a 09 09 09 | 09 2f 2f 4c 6f 67 28 22 |;.......|.//Log("|
|00003d90| 4b 49 4c 4c 45 44 20 4d | 55 54 41 4e 54 3a 20 22 |KILLED M|UTANT: "|
|00003da0| 24 4b 69 6c 6c 53 63 6f | 72 65 29 3b 0d 0a 0d 0a |$KillSco|re);....|
|00003db0| 09 09 09 09 4b 69 6c 6c | 65 72 2e 50 6c 61 79 65 |....Kill|er.Playe|
|00003dc0| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|00003dd0| 2e 53 63 6f 72 65 20 2b | 3d 20 4b 69 6c 6c 53 63 |.Score +|= KillSc|
|00003de0| 6f 72 65 3b 0d 0a 0d 0a | 09 09 09 09 69 66 20 28 |ore;....|....if (|
|00003df0| 47 61 6d 65 53 74 61 74 | 73 21 3d 4e 6f 6e 65 29 |GameStat|s!=None)|
|00003e00| 0d 0a 09 09 09 09 09 47 | 61 6d 65 53 74 61 74 73 |.......G|ameStats|
|00003e10| 2e 53 63 6f 72 65 45 76 | 65 6e 74 28 4b 69 6c 6c |.ScoreEv|ent(Kill|
|00003e20| 65 72 2e 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 |er.Playe|rReplica|
|00003e30| 74 69 6f 6e 49 6e 66 6f | 2c 31 2c 22 66 72 61 67 |tionInfo|,1,"frag|
|00003e40| 22 29 3b 0d 0a 09 09 09 | 7d 0d 0a 09 09 09 65 6c |");.....|}.....el|
|00003e50| 73 65 20 69 66 28 4b 69 | 6c 6c 65 72 20 3d 3d 20 |se if(Ki|ller == |
|00003e60| 43 75 72 72 65 6e 74 4d | 75 74 61 6e 74 29 20 2f |CurrentM|utant) /|
|00003e70| 2f 20 4d 75 74 61 6e 74 | 20 6b 69 6c 6c 65 64 20 |/ Mutant| killed |
|00003e80| 73 6f 6d 65 6f 6e 65 0d | 0a 09 09 09 7b 0d 0a 09 |someone.|....{...|
|00003e90| 09 09 09 75 4b 69 6c 6c | 65 72 20 3d 20 55 6e 72 |...uKill|er = Unr|
|00003ea0| 65 61 6c 50 6c 61 79 65 | 72 28 4b 69 6c 6c 65 72 |ealPlaye|r(Killer|
|00003eb0| 29 3b 0d 0a 0d 0a 09 09 | 09 09 69 66 28 75 4b 69 |);......|..if(uKi|
|00003ec0| 6c 6c 65 72 20 21 3d 20 | 4e 6f 6e 65 29 0d 0a 09 |ller != |None)...|
|00003ed0| 09 09 09 7b 0d 0a 09 09 | 09 09 09 2f 2f 4c 6f 67 |...{....|...//Log|
|00003ee0| 28 22 4d 55 54 41 4e 54 | 20 4b 49 4c 4c 3a 20 22 |("MUTANT| KILL: "|
|00003ef0| 24 42 61 73 65 4b 69 6c | 6c 53 63 6f 72 65 20 2b |$BaseKil|lScore +|
|00003f00| 20 28 75 4b 69 6c 6c 65 | 72 2e 4d 75 6c 74 69 4b | (uKille|r.MultiK|
|00003f10| 69 6c 6c 4c 65 76 65 6c | 20 2a 20 4d 75 6c 74 69 |illLevel| * Multi|
|00003f20| 4b 69 6c 6c 42 6f 6e 75 | 73 29 29 3b 0d 0a 0d 0a |KillBonu|s));....|
|00003f30| 09 09 09 09 09 2f 2f 20 | 49 66 20 74 68 65 20 6d |.....// |If the m|
|00003f40| 75 74 61 6e 74 20 6b 69 | 6c 6c 65 64 20 74 68 65 |utant ki|lled the|
|00003f50| 20 62 6f 74 74 6f 6d 20 | 66 65 65 64 65 72 2c 20 | bottom |feeder, |
|00003f60| 74 68 65 79 20 67 65 74 | 20 61 20 73 70 65 63 69 |they get| a speci|
|00003f70| 61 6c 20 73 63 6f 72 65 | 0d 0a 09 09 09 09 09 2f |al score|......./|
|00003f80| 2f 20 4f 74 68 65 72 77 | 69 73 65 20 2d 20 73 63 |/ Otherw|ise - sc|
|00003f90| 6f 72 65 20 62 61 73 65 | 20 6f 6e 20 6d 75 6c 74 |ore base| on mult|
|00003fa0| 69 2d 6b 69 6c 6c 20 6c | 65 76 65 6c 0d 0a 0d 0a |i-kill l|evel....|
|00003fb0| 09 09 09 09 09 69 66 28 | 20 49 73 42 6f 74 74 6f |.....if(| IsBotto|
|00003fc0| 6d 46 65 65 64 65 72 28 | 4f 74 68 65 72 29 20 29 |mFeeder(|Other) )|
|00003fd0| 0d 0a 09 09 09 09 09 09 | 4b 69 6c 6c 65 72 2e 50 |........|Killer.P|
|00003fe0| 6c 61 79 65 72 52 65 70 | 6c 69 63 61 74 69 6f 6e |layerRep|lication|
|00003ff0| 49 6e 66 6f 2e 53 63 6f | 72 65 20 2b 3d 20 42 6f |Info.Sco|re += Bo|
|00004000| 74 74 6f 6d 46 65 65 64 | 65 72 4b 69 6c 6c 53 63 |ttomFeed|erKillSc|
|00004010| 6f 72 65 3b 0d 0a 09 09 | 09 09 09 65 6c 73 65 0d |ore;....|...else.|
|00004020| 0a 09 09 09 09 09 09 4b | 69 6c 6c 65 72 2e 50 6c |.......K|iller.Pl|
|00004030| 61 79 65 72 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |ayerRepl|icationI|
|00004040| 6e 66 6f 2e 53 63 6f 72 | 65 20 2b 3d 20 4d 69 6e |nfo.Scor|e += Min|
|00004050| 28 20 42 61 73 65 4b 69 | 6c 6c 53 63 6f 72 65 20 |( BaseKi|llScore |
|00004060| 2b 20 28 75 4b 69 6c 6c | 65 72 2e 4d 75 6c 74 69 |+ (uKill|er.Multi|
|00004070| 4b 69 6c 6c 4c 65 76 65 | 6c 20 2a 20 4d 75 6c 74 |KillLeve|l * Mult|
|00004080| 69 4b 69 6c 6c 42 6f 6e | 75 73 29 2c 20 4d 61 78 |iKillBon|us), Max|
|00004090| 4d 75 6c 74 69 4b 69 6c | 6c 53 63 6f 72 65 20 29 |MultiKil|lScore )|
|000040a0| 3b 0d 0a 09 09 09 09 7d | 0d 0a 09 09 09 09 65 6c |;......}|......el|
|000040b0| 73 65 0d 0a 09 09 09 09 | 7b 0d 0a 09 09 09 09 09 |se......|{.......|
|000040c0| 2f 2f 4c 6f 67 28 22 4d | 55 54 41 4e 54 20 4b 49 |//Log("M|UTANT KI|
|000040d0| 4c 4c 3a 20 22 24 42 61 | 73 65 4b 69 6c 6c 53 63 |LL: "$Ba|seKillSc|
|000040e0| 6f 72 65 29 3b 0d 0a 09 | 09 09 09 09 4b 69 6c 6c |ore);...|....Kill|
|000040f0| 65 72 2e 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 |er.Playe|rReplica|
|00004100| 74 69 6f 6e 49 6e 66 6f | 2e 53 63 6f 72 65 20 2b |tionInfo|.Score +|
|00004110| 3d 20 42 61 73 65 4b 69 | 6c 6c 53 63 6f 72 65 3b |= BaseKi|llScore;|
|00004120| 20 2f 2f 20 46 49 58 4d | 45 3a 20 47 69 76 65 20 | // FIXM|E: Give |
|00004130| 62 6f 74 73 20 6d 75 6c | 74 69 2d 6b 69 6c 6c 20 |bots mul|ti-kill |
|00004140| 62 6f 6e 75 73 3f 0d 0a | 09 09 09 09 7d 0d 0a 0d |bonus?..|....}...|
|00004150| 0a 09 09 09 09 69 66 20 | 28 47 61 6d 65 53 74 61 |.....if |(GameSta|
|00004160| 74 73 21 3d 4e 6f 6e 65 | 29 0d 0a 09 09 09 09 09 |ts!=None|).......|
|00004170| 47 61 6d 65 53 74 61 74 | 73 2e 53 63 6f 72 65 45 |GameStat|s.ScoreE|
|00004180| 76 65 6e 74 28 4b 69 6c | 6c 65 72 2e 50 6c 61 79 |vent(Kil|ler.Play|
|00004190| 65 72 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |erReplic|ationInf|
|000041a0| 6f 2c 31 2c 22 66 72 61 | 67 22 29 3b 0d 0a 09 09 |o,1,"fra|g");....|
|000041b0| 09 7d 0d 0a 09 09 09 65 | 6c 73 65 20 69 66 28 20 |.}.....e|lse if( |
|000041c0| 49 73 42 6f 74 74 6f 6d | 46 65 65 64 65 72 28 4b |IsBottom|Feeder(K|
|000041d0| 69 6c 6c 65 72 29 20 29 | 0d 0a 09 09 09 7b 0d 0a |iller) )|.....{..|
|000041e0| 09 09 09 09 2f 2f 4c 6f | 67 28 22 42 4f 54 54 4f |....//Lo|g("BOTTO|
|000041f0| 4d 20 46 45 45 44 45 52 | 20 4b 49 4c 4c 3a 20 22 |M FEEDER| KILL: "|
|00004200| 24 42 61 73 65 4b 69 6c | 6c 53 63 6f 72 65 29 3b |$BaseKil|lScore);|
|00004210| 0d 0a 09 09 09 09 4b 69 | 6c 6c 65 72 2e 50 6c 61 |......Ki|ller.Pla|
|00004220| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00004230| 66 6f 2e 53 63 6f 72 65 | 20 2b 3d 20 42 61 73 65 |fo.Score| += Base|
|00004240| 4b 69 6c 6c 53 63 6f 72 | 65 3b 0d 0a 0d 0a 09 09 |KillScor|e;......|
|00004250| 09 09 69 66 20 28 47 61 | 6d 65 53 74 61 74 73 21 |..if (Ga|meStats!|
|00004260| 3d 4e 6f 6e 65 29 0d 0a | 09 09 09 09 09 47 61 6d |=None)..|.....Gam|
|00004270| 65 53 74 61 74 73 2e 53 | 63 6f 72 65 45 76 65 6e |eStats.S|coreEven|
|00004280| 74 28 4b 69 6c 6c 65 72 | 2e 50 6c 61 79 65 72 52 |t(Killer|.PlayerR|
|00004290| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2c 31 |eplicati|onInfo,1|
|000042a0| 2c 22 66 72 61 67 22 29 | 3b 0d 0a 09 09 09 7d 0d |,"frag")|;.....}.|
|000042b0| 0a 09 09 7d 0d 0a 09 09 | 65 6c 73 65 20 69 66 28 |...}....|else if(|
|000042c0| 43 75 72 72 65 6e 74 4d | 75 74 61 6e 74 20 3d 3d |CurrentM|utant ==|
|000042d0| 20 4e 6f 6e 65 29 20 2f | 2f 20 46 46 41 20 4b 69 | None) /|/ FFA Ki|
|000042e0| 6c 6c 0d 0a 09 09 7b 0d | 0a 09 09 09 4b 69 6c 6c |ll....{.|....Kill|
|000042f0| 65 72 2e 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 |er.Playe|rReplica|
|00004300| 74 69 6f 6e 49 6e 66 6f | 2e 53 63 6f 72 65 20 2b |tionInfo|.Score +|
|00004310| 3d 20 42 61 73 65 4b 69 | 6c 6c 53 63 6f 72 65 3b |= BaseKi|llScore;|
|00004320| 0d 0a 0d 0a 09 09 09 69 | 66 20 28 47 61 6d 65 53 |.......i|f (GameS|
|00004330| 74 61 74 73 21 3d 4e 6f | 6e 65 29 0d 0a 09 09 09 |tats!=No|ne).....|
|00004340| 09 47 61 6d 65 53 74 61 | 74 73 2e 53 63 6f 72 65 |.GameSta|ts.Score|
|00004350| 45 76 65 6e 74 28 4b 69 | 6c 6c 65 72 2e 50 6c 61 |Event(Ki|ller.Pla|
|00004360| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00004370| 66 6f 2c 31 2c 22 66 72 | 61 67 22 29 3b 0d 0a 09 |fo,1,"fr|ag");...|
|00004380| 09 7d 0d 0a 09 7d 0d 0a | 0d 0a 09 2f 2f 20 4c 65 |.}...}..|...// Le|
|00004390| 74 20 74 68 65 20 67 61 | 6d 65 20 72 75 6c 65 73 |t the ga|me rules|
|000043a0| 20 6d 6f 64 69 66 79 20 | 74 68 65 20 73 63 6f 72 | modify |the scor|
|000043b0| 65 20 61 73 20 77 65 6c | 6c 0d 0a 20 20 20 20 69 |e as wel|l.. i|
|000043c0| 66 20 28 20 47 61 6d 65 | 52 75 6c 65 73 4d 6f 64 |f ( Game|RulesMod|
|000043d0| 69 66 69 65 72 73 20 21 | 3d 20 4e 6f 6e 65 20 29 |ifiers !|= None )|
|000043e0| 0d 0a 20 20 20 20 20 20 | 20 20 47 61 6d 65 52 75 |.. | GameRu|
|000043f0| 6c 65 73 4d 6f 64 69 66 | 69 65 72 73 2e 53 63 6f |lesModif|iers.Sco|
|00004400| 72 65 4b 69 6c 6c 28 4b | 69 6c 6c 65 72 2c 20 4f |reKill(K|iller, O|
|00004410| 74 68 65 72 29 3b 0d 0a | 0d 0a 09 2f 2f 20 43 68 |ther);..|...// Ch|
|00004420| 65 63 6b 20 69 66 20 74 | 68 69 73 20 6d 65 61 6e |eck if t|his mean|
|00004430| 73 20 74 68 65 20 65 6e | 64 20 6f 66 20 74 68 65 |s the en|d of the|
|00004440| 20 6d 61 74 63 68 0d 0a | 20 20 20 20 69 66 20 28 | match..| if (|
|00004450| 4b 69 6c 6c 65 72 20 21 | 3d 20 4e 6f 6e 65 29 0d |Killer !|= None).|
|00004460| 0a 20 20 20 20 20 20 20 | 20 43 68 65 63 6b 53 63 |. | CheckSc|
|00004470| 6f 72 65 28 4b 69 6c 6c | 65 72 2e 50 6c 61 79 65 |ore(Kill|er.Playe|
|00004480| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|00004490| 29 3b 0d 0a 0d 0a 20 20 | 20 20 69 66 20 28 20 28 |);.... | if ( (|
|000044a0| 6b 69 6c 6c 65 72 20 3d | 3d 20 4e 6f 6e 65 29 20 |killer =|= None) |
|000044b0| 7c 7c 20 28 4f 74 68 65 | 72 20 3d 3d 20 4e 6f 6e ||| (Othe|r == Non|
|000044c0| 65 29 20 29 0d 0a 20 20 | 20 20 20 20 20 20 72 65 |e) ).. | re|
|000044d0| 74 75 72 6e 3b 0d 0a 0d | 0a 09 2f 2f 20 41 64 6a |turn;...|..// Adj|
|000044e0| 75 73 74 20 62 6f 74 20 | 73 6b 69 6c 6c 73 20 69 |ust bot |skills i|
|000044f0| 66 20 64 65 73 69 72 65 | 64 0d 0a 20 20 20 20 69 |f desire|d.. i|
|00004500| 66 20 28 20 62 41 64 6a | 75 73 74 53 6b 69 6c 6c |f ( bAdj|ustSkill|
|00004510| 20 26 26 20 28 6b 69 6c | 6c 65 72 2e 49 73 41 28 | && (kil|ler.IsA(|
|00004520| 27 50 6c 61 79 65 72 43 | 6f 6e 74 72 6f 6c 6c 65 |'PlayerC|ontrolle|
|00004530| 72 27 29 20 7c 7c 20 4f | 74 68 65 72 2e 49 73 41 |r') || O|ther.IsA|
|00004540| 28 27 50 6c 61 79 65 72 | 43 6f 6e 74 72 6f 6c 6c |('Player|Controll|
|00004550| 65 72 27 29 29 20 29 0d | 0a 20 20 20 20 7b 0d 0a |er')) ).|. {..|
|00004560| 20 20 20 20 20 20 20 20 | 69 66 20 28 20 6b 69 6c | |if ( kil|
|00004570| 6c 65 72 2e 49 73 41 28 | 27 41 49 43 6f 6e 74 72 |ler.IsA(|'AIContr|
|00004580| 6f 6c 6c 65 72 27 29 20 | 29 0d 0a 20 20 20 20 20 |oller') |).. |
|00004590| 20 20 20 20 20 20 20 41 | 64 6a 75 73 74 53 6b 69 | A|djustSki|
|000045a0| 6c 6c 28 41 49 43 6f 6e | 74 72 6f 6c 6c 65 72 28 |ll(AICon|troller(|
|000045b0| 6b 69 6c 6c 65 72 29 2c | 20 50 6c 61 79 65 72 43 |killer),| PlayerC|
|000045c0| 6f 6e 74 72 6f 6c 6c 65 | 72 28 4f 74 68 65 72 29 |ontrolle|r(Other)|
|000045d0| 2c 74 72 75 65 29 3b 0d | 0a 20 20 20 20 20 20 20 |,true);.|. |
|000045e0| 20 69 66 20 28 20 4f 74 | 68 65 72 2e 49 73 41 28 | if ( Ot|her.IsA(|
|000045f0| 27 41 49 43 6f 6e 74 72 | 6f 6c 6c 65 72 27 29 20 |'AIContr|oller') |
|00004600| 29 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 41 |).. | A|
|00004610| 64 6a 75 73 74 53 6b 69 | 6c 6c 28 41 49 43 6f 6e |djustSki|ll(AICon|
|00004620| 74 72 6f 6c 6c 65 72 28 | 4f 74 68 65 72 29 2c 20 |troller(|Other), |
|00004630| 50 6c 61 79 65 72 43 6f | 6e 74 72 6f 6c 6c 65 72 |PlayerCo|ntroller|
|00004640| 28 4b 69 6c 6c 65 72 29 | 2c 66 61 6c 73 65 29 3b |(Killer)|,false);|
|00004650| 0d 0a 20 20 20 20 7d 0d | 0a 7d 0d 0a 0d 0a 2f 2f |.. }.|.}....//|
|00004660| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 69 6e 74 20 52 |..functi|on int R|
|00004670| 65 64 75 63 65 44 61 6d | 61 67 65 28 20 69 6e 74 |educeDam|age( int|
|00004680| 20 44 61 6d 61 67 65 2c | 20 70 61 77 6e 20 69 6e | Damage,| pawn in|
|00004690| 6a 75 72 65 64 2c 20 70 | 61 77 6e 20 69 6e 73 74 |jured, p|awn inst|
|000046a0| 69 67 61 74 65 64 42 79 | 2c 20 76 65 63 74 6f 72 |igatedBy|, vector|
|000046b0| 20 48 69 74 4c 6f 63 61 | 74 69 6f 6e 2c 20 6f 75 | HitLoca|tion, ou|
|000046c0| 74 20 76 65 63 74 6f 72 | 20 4d 6f 6d 65 6e 74 75 |t vector| Momentu|
|000046d0| 6d 2c 20 63 6c 61 73 73 | 3c 44 61 6d 61 67 65 54 |m, class|<DamageT|
|000046e0| 79 70 65 3e 20 44 61 6d | 61 67 65 54 79 70 65 20 |ype> Dam|ageType |
|000046f0| 29 0d 0a 7b 0d 0a 09 2f | 2f 20 49 66 20 74 68 65 |)..{.../|/ If the|
|00004700| 72 65 20 69 73 20 61 20 | 4d 75 74 61 6e 74 20 2d |re is a |Mutant -|
|00004710| 20 64 69 73 61 62 6c 65 | 20 66 72 69 65 6e 64 6c | disable| friendl|
|00004720| 79 20 66 69 72 65 20 28 | 65 78 63 65 70 74 20 66 |y fire (|except f|
|00004730| 6f 72 20 62 6f 74 74 6f | 6d 20 66 65 65 64 65 72 |or botto|m feeder|
|00004740| 29 2e 0d 0a 09 69 66 28 | 20 43 75 72 72 65 6e 74 |)....if(| Current|
|00004750| 4d 75 74 61 6e 74 20 21 | 3d 20 4e 6f 6e 65 20 26 |Mutant !|= None &|
|00004760| 26 0d 0a 09 09 28 69 6e | 6a 75 72 65 64 20 21 3d |&....(in|jured !=|
|00004770| 20 4e 6f 6e 65 20 26 26 | 20 69 6e 6a 75 72 65 64 | None &&| injured|
|00004780| 2e 43 6f 6e 74 72 6f 6c | 6c 65 72 20 21 3d 20 43 |.Control|ler != C|
|00004790| 75 72 72 65 6e 74 4d 75 | 74 61 6e 74 29 20 26 26 |urrentMu|tant) &&|
|000047a0| 0d 0a 09 09 28 69 6e 73 | 74 69 67 61 74 65 64 42 |....(ins|tigatedB|
|000047b0| 79 20 21 3d 20 4e 6f 6e | 65 20 26 26 20 69 6e 73 |y != Non|e && ins|
|000047c0| 74 69 67 61 74 65 64 42 | 79 2e 43 6f 6e 74 72 6f |tigatedB|y.Contro|
|000047d0| 6c 6c 65 72 20 21 3d 20 | 43 75 72 72 65 6e 74 4d |ller != |CurrentM|
|000047e0| 75 74 61 6e 74 29 20 26 | 26 0d 0a 09 09 21 49 73 |utant) &|&....!Is|
|000047f0| 42 6f 74 74 6f 6d 46 65 | 65 64 65 72 28 69 6e 73 |BottomFe|eder(ins|
|00004800| 74 69 67 61 74 65 64 42 | 79 2e 43 6f 6e 74 72 6f |tigatedB|y.Contro|
|00004810| 6c 6c 65 72 29 20 29 0d | 0a 09 09 72 65 74 75 72 |ller) ).|...retur|
|00004820| 6e 20 30 3b 0d 0a 0d 0a | 09 2f 2f 20 52 65 67 75 |n 0;....|.// Regu|
|00004830| 6c 61 72 20 64 61 6d 61 | 67 65 20 65 76 61 6c 75 |lar dama|ge evalu|
|00004840| 61 74 69 6f 6e 0d 0a 09 | 72 65 74 75 72 6e 20 53 |ation...|return S|
|00004850| 75 70 65 72 2e 52 65 64 | 75 63 65 44 61 6d 61 67 |uper.Red|uceDamag|
|00004860| 65 28 44 61 6d 61 67 65 | 2c 20 69 6e 6a 75 72 65 |e(Damage|, injure|
|00004870| 64 2c 20 69 6e 73 74 69 | 67 61 74 65 64 42 79 2c |d, insti|gatedBy,|
|00004880| 20 48 69 74 4c 6f 63 61 | 74 69 6f 6e 2c 20 4d 6f | HitLoca|tion, Mo|
|00004890| 6d 65 6e 74 75 6d 2c 20 | 44 61 6d 61 67 65 54 79 |mentum, |DamageTy|
|000048a0| 70 65 29 3b 0d 0a 7d 0d | 0a 0d 0a 2f 2f 20 43 68 |pe);..}.|...// Ch|
|000048b0| 61 6e 67 65 20 74 68 65 | 20 64 65 66 61 75 6c 74 |ange the| default|
|000048c0| 20 70 61 77 6e 20 63 6c | 61 73 73 20 74 6f 20 78 | pawn cl|ass to x|
|000048d0| 4d 75 74 61 6e 74 50 61 | 77 6e 20 6f 6e 20 6c 6f |MutantPa|wn on lo|
|000048e0| 67 69 6e 2e 0d 0a 65 76 | 65 6e 74 20 50 6c 61 79 |gin...ev|ent Play|
|000048f0| 65 72 43 6f 6e 74 72 6f | 6c 6c 65 72 20 4c 6f 67 |erContro|ller Log|
|00004900| 69 6e 28 20 73 74 72 69 | 6e 67 20 50 6f 72 74 61 |in( stri|ng Porta|
|00004910| 6c 2c 20 73 74 72 69 6e | 67 20 4f 70 74 69 6f 6e |l, strin|g Option|
|00004920| 73 2c 20 6f 75 74 20 73 | 74 72 69 6e 67 20 45 72 |s, out s|tring Er|
|00004930| 72 6f 72 20 29 0d 0a 7b | 0d 0a 09 6c 6f 63 61 6c |ror )..{|...local|
|00004940| 20 50 6c 61 79 65 72 43 | 6f 6e 74 72 6f 6c 6c 65 | PlayerC|ontrolle|
|00004950| 72 20 70 63 3b 0d 0a 0d | 0a 09 70 63 20 3d 20 53 |r pc;...|..pc = S|
|00004960| 75 70 65 72 2e 4c 6f 67 | 69 6e 28 50 6f 72 74 61 |uper.Log|in(Porta|
|00004970| 6c 2c 20 4f 70 74 69 6f | 6e 73 2c 20 45 72 72 6f |l, Optio|ns, Erro|
|00004980| 72 29 3b 0d 0a 0d 0a 09 | 69 66 28 70 63 20 21 3d |r);.....|if(pc !=|
|00004990| 20 4e 6f 6e 65 29 0d 0a | 09 7b 0d 0a 09 09 70 63 | None)..|.{....pc|
|000049a0| 2e 50 61 77 6e 43 6c 61 | 73 73 20 3d 20 63 6c 61 |.PawnCla|ss = cla|
|000049b0| 73 73 27 42 6f 6e 75 73 | 50 61 63 6b 2e 78 4d 75 |ss'Bonus|Pack.xMu|
|000049c0| 74 61 6e 74 50 61 77 6e | 27 3b 0d 0a 09 09 78 50 |tantPawn|';....xP|
|000049d0| 6c 61 79 65 72 28 70 63 | 29 2e 43 6f 6d 62 6f 4e |layer(pc|).ComboN|
|000049e0| 61 6d 65 4c 69 73 74 5b | 33 5d 20 3d 20 22 22 3b |ameList[|3] = "";|
|000049f0| 20 2f 2f 20 52 65 6d 6f | 76 65 20 69 6e 76 69 73 | // Remo|ve invis|
|00004a00| 20 63 6f 6d 62 6f 20 66 | 72 6f 6d 20 70 6c 61 79 | combo f|rom play|
|00004a10| 65 72 73 20 6c 69 73 74 | 2e 0d 0a 09 7d 0d 0a 0d |ers list|....}...|
|00004a20| 0a 09 72 65 74 75 72 6e | 20 70 63 3b 0d 0a 7d 0d |..return| pc;..}.|
|00004a30| 0a 0d 0a 65 76 65 6e 74 | 20 50 6f 73 74 4c 6f 67 |...event| PostLog|
|00004a40| 69 6e 28 20 50 6c 61 79 | 65 72 43 6f 6e 74 72 6f |in( Play|erContro|
|00004a50| 6c 6c 65 72 20 4e 65 77 | 50 6c 61 79 65 72 20 29 |ller New|Player )|
|00004a60| 0d 0a 7b 0d 0a 09 53 75 | 70 65 72 2e 50 6f 73 74 |..{...Su|per.Post|
|00004a70| 4c 6f 67 69 6e 28 4e 65 | 77 50 6c 61 79 65 72 29 |Login(Ne|wPlayer)|
|00004a80| 3b 0d 0a 0d 0a 09 2f 2f | 20 55 70 64 61 74 65 20 |;.....//| Update |
|00004a90| 6c 69 73 74 20 6f 66 20 | 62 6f 74 74 6f 6d 20 70 |list of |bottom p|
|00004aa0| 6c 61 79 65 72 73 20 77 | 68 65 6e 20 73 6f 6d 65 |layers w|hen some|
|00004ab0| 6f 6e 65 20 6a 6f 69 6e | 73 0d 0a 09 55 70 64 61 |one join|s...Upda|
|00004ac0| 74 65 42 6f 74 74 6f 6d | 46 65 65 64 65 72 28 29 |teBottom|Feeder()|
|00004ad0| 3b 0d 0a 7d 0d 0a 0d 0a | 2f 2f 20 49 66 20 74 68 |;..}....|// If th|
|00004ae0| 65 20 4d 75 74 61 6e 74 | 20 6c 65 61 76 65 73 20 |e Mutant| leaves |
|00004af0| 2d 20 70 75 74 20 74 68 | 69 6e 67 73 20 62 61 63 |- put th|ings bac|
|00004b00| 6b 20 69 6e 74 6f 20 46 | 46 41 0d 0a 66 75 6e 63 |k into F|FA..func|
|00004b10| 74 69 6f 6e 20 4c 6f 67 | 6f 75 74 28 43 6f 6e 74 |tion Log|out(Cont|
|00004b20| 72 6f 6c 6c 65 72 20 45 | 78 69 74 69 6e 67 29 0d |roller E|xiting).|
|00004b30| 0a 7b 0d 0a 09 6c 6f 63 | 61 6c 20 78 50 61 77 6e |.{...loc|al xPawn|
|00004b40| 20 78 45 78 69 74 3b 0d | 0a 0d 0a 09 69 66 20 28 | xExit;.|....if (|
|00004b50| 20 45 78 69 74 69 6e 67 | 20 3d 3d 20 43 75 72 72 | Exiting| == Curr|
|00004b60| 65 6e 74 4d 75 74 61 6e | 74 20 29 0d 0a 09 7b 0d |entMutan|t )...{.|
|00004b70| 0a 09 09 69 66 28 20 45 | 78 69 74 69 6e 67 2e 50 |...if( E|xiting.P|
|00004b80| 61 77 6e 20 21 3d 20 4e | 6f 6e 65 20 29 0d 0a 09 |awn != N|one )...|
|00004b90| 09 09 78 45 78 69 74 20 | 3d 20 78 50 61 77 6e 28 |..xExit |= xPawn(|
|00004ba0| 45 78 69 74 69 6e 67 2e | 50 61 77 6e 29 3b 0d 0a |Exiting.|Pawn);..|
|00004bb0| 0d 0a 09 09 69 66 28 09 | 78 45 78 69 74 20 21 3d |....if(.|xExit !=|
|00004bc0| 20 4e 6f 6e 65 20 29 0d | 0a 09 09 09 53 65 74 4d | None ).|....SetM|
|00004bd0| 75 74 61 6e 74 28 45 78 | 69 74 69 6e 67 2c 20 78 |utant(Ex|iting, x|
|00004be0| 45 78 69 74 2c 20 66 61 | 6c 73 65 29 3b 0d 0a 0d |Exit, fa|lse);...|
|00004bf0| 0a 09 09 43 75 72 72 65 | 6e 74 4d 75 74 61 6e 74 |...Curre|ntMutant|
|00004c00| 20 3d 20 4e 6f 6e 65 3b | 0d 0a 09 09 4d 75 74 61 | = None;|....Muta|
|00004c10| 6e 74 47 61 6d 65 52 65 | 70 6c 69 63 61 74 69 6f |ntGameRe|plicatio|
|00004c20| 6e 49 6e 66 6f 28 47 61 | 6d 65 52 65 70 6c 69 63 |nInfo(Ga|meReplic|
|00004c30| 61 74 69 6f 6e 49 6e 66 | 6f 29 2e 4d 75 74 61 6e |ationInf|o).Mutan|
|00004c40| 74 50 52 49 20 3d 20 4e | 6f 6e 65 3b 0d 0a 09 09 |tPRI = N|one;....|
|00004c50| 53 65 6e 64 41 6c 6c 43 | 75 72 72 65 6e 74 4d 75 |SendAllC|urrentMu|
|00004c60| 74 61 6e 74 4d 65 73 73 | 61 67 65 28 29 3b 0d 0a |tantMess|age();..|
|00004c70| 09 7d 0d 0a 0d 0a 09 2f | 2f 20 55 70 64 61 74 65 |.}...../|/ Update|
|00004c80| 20 6c 69 73 74 20 6f 66 | 20 62 6f 74 74 6f 6d 20 | list of| bottom |
|00004c90| 70 6c 61 79 65 72 73 20 | 77 68 65 6e 20 73 6f 6d |players |when som|
|00004ca0| 65 6f 6e 65 20 6c 65 61 | 76 65 73 0d 0a 09 55 70 |eone lea|ves...Up|
|00004cb0| 64 61 74 65 42 6f 74 74 | 6f 6d 46 65 65 64 65 72 |dateBott|omFeeder|
|00004cc0| 28 29 3b 0d 0a 0d 0a 09 | 53 75 70 65 72 2e 4c 6f |();.....|Super.Lo|
|00004cd0| 67 6f 75 74 28 45 78 69 | 74 69 6e 67 29 3b 0d 0a |gout(Exi|ting);..|
|00004ce0| 7d 0d 0a 0d 0a 2f 2f 20 | 53 6f 20 62 6f 74 73 20 |}....// |So bots |
|00004cf0| 64 6f 6e 74 20 74 72 79 | 20 61 6e 64 20 64 6f 20 |dont try| and do |
|00004d00| 69 6e 76 69 73 20 63 6f | 6d 62 6f 0d 0a 66 75 6e |invis co|mbo..fun|
|00004d10| 63 74 69 6f 6e 20 73 74 | 72 69 6e 67 20 52 65 63 |ction st|ring Rec|
|00004d20| 6f 6d 6d 65 6e 64 43 6f | 6d 62 6f 28 73 74 72 69 |ommendCo|mbo(stri|
|00004d30| 6e 67 20 43 6f 6d 62 6f | 4e 61 6d 65 29 0d 0a 7b |ng Combo|Name)..{|
|00004d40| 0d 0a 09 6c 6f 63 61 6c | 20 66 6c 6f 61 74 20 52 |...local| float R|
|00004d50| 3b 0d 0a 0d 0a 09 2f 2f | 20 43 68 61 6e 67 65 20 |;.....//| Change |
|00004d60| 63 6f 6d 62 6f 20 69 66 | 20 69 74 73 20 69 6e 76 |combo if| its inv|
|00004d70| 69 73 69 62 69 6c 69 74 | 79 2e 0d 0a 09 69 66 28 |isibilit|y....if(|
|00004d80| 20 43 6f 6d 62 6f 4e 61 | 6d 65 20 3d 3d 20 22 78 | ComboNa|me == "x|
|00004d90| 47 61 6d 65 2e 43 6f 6d | 62 6f 49 6e 76 69 73 22 |Game.Com|boInvis"|
|00004da0| 20 29 0d 0a 09 7b 0d 0a | 09 09 52 20 3d 20 46 52 | )...{..|..R = FR|
|00004db0| 61 6e 64 28 29 3b 0d 0a | 0d 0a 09 09 69 66 28 20 |and();..|....if( |
|00004dc0| 52 20 3c 20 30 2e 33 33 | 20 29 0d 0a 09 09 09 43 |R < 0.33| ).....C|
|00004dd0| 6f 6d 62 6f 4e 61 6d 65 | 20 3d 20 22 78 47 61 6d |omboName| = "xGam|
|00004de0| 65 2e 43 6f 6d 62 6f 53 | 70 65 65 64 22 3b 0d 0a |e.ComboS|peed";..|
|00004df0| 09 09 65 6c 73 65 20 69 | 66 28 20 52 20 3e 20 30 |..else i|f( R > 0|
|00004e00| 2e 36 36 20 29 0d 0a 09 | 09 09 43 6f 6d 62 6f 4e |.66 )...|..ComboN|
|00004e10| 61 6d 65 20 3d 20 22 78 | 47 61 6d 65 2e 43 6f 6d |ame = "x|Game.Com|
|00004e20| 62 6f 42 65 72 73 65 72 | 6b 22 3b 0d 0a 09 09 65 |boBerser|k";....e|
|00004e30| 6c 73 65 0d 0a 09 09 09 | 43 6f 6d 62 6f 4e 61 6d |lse.....|ComboNam|
|00004e40| 65 20 3d 20 22 78 47 61 | 6d 65 2e 43 6f 6d 62 6f |e = "xGa|me.Combo|
|00004e50| 44 65 66 65 6e 73 65 22 | 3b 0d 0a 09 7d 0d 0a 0d |Defense"|;...}...|
|00004e60| 0a 09 72 65 74 75 72 6e | 20 53 75 70 65 72 2e 52 |..return| Super.R|
|00004e70| 65 63 6f 6d 6d 65 6e 64 | 43 6f 6d 62 6f 28 43 6f |ecommend|Combo(Co|
|00004e80| 6d 62 6f 4e 61 6d 65 29 | 3b 0d 0a 7d 0d 0a 0d 0a |mboName)|;..}....|
|00004e90| 2f 2f 20 53 65 74 20 62 | 6f 74 20 70 61 77 6e 20 |// Set b|ot pawn |
|00004ea0| 63 6c 61 73 73 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |class..f|unction |
|00004eb0| 42 6f 74 20 53 70 61 77 | 6e 42 6f 74 28 6f 70 74 |Bot Spaw|nBot(opt|
|00004ec0| 69 6f 6e 61 6c 20 73 74 | 72 69 6e 67 20 62 6f 74 |ional st|ring bot|
|00004ed0| 4e 61 6d 65 29 0d 0a 7b | 0d 0a 09 6c 6f 63 61 6c |Name)..{|...local|
|00004ee0| 20 42 6f 74 20 42 3b 0d | 0a 0d 0a 09 42 20 3d 20 | Bot B;.|....B = |
|00004ef0| 53 75 70 65 72 2e 53 70 | 61 77 6e 42 6f 74 28 62 |Super.Sp|awnBot(b|
|00004f00| 6f 74 4e 61 6d 65 29 3b | 0d 0a 0d 0a 09 69 66 28 |otName);|.....if(|
|00004f10| 42 20 21 3d 20 4e 6f 6e | 65 29 0d 0a 09 7b 0d 0a |B != Non|e)...{..|
|00004f20| 09 09 42 2e 50 61 77 6e | 43 6c 61 73 73 20 3d 20 |..B.Pawn|Class = |
|00004f30| 63 6c 61 73 73 27 42 6f | 6e 75 73 50 61 63 6b 2e |class'Bo|nusPack.|
|00004f40| 78 4d 75 74 61 6e 74 50 | 61 77 6e 27 3b 0d 0a 09 |xMutantP|awn';...|
|00004f50| 7d 0d 0a 0d 0a 09 2f 2f | 20 55 70 64 61 74 65 20 |}.....//| Update |
|00004f60| 6c 69 73 74 20 6f 66 20 | 62 6f 74 74 6f 6d 20 70 |list of |bottom p|
|00004f70| 6c 61 79 65 72 73 20 77 | 68 65 6e 20 61 20 62 6f |layers w|hen a bo|
|00004f80| 74 20 6a 6f 69 6e 73 0d | 0a 09 55 70 64 61 74 65 |t joins.|..Update|
|00004f90| 42 6f 74 74 6f 6d 46 65 | 65 64 65 72 28 29 3b 0d |BottomFe|eder();.|
|00004fa0| 0a 0d 0a 09 72 65 74 75 | 72 6e 20 42 3b 0d 0a 7d |....retu|rn B;..}|
|00004fb0| 0d 0a 0d 0a 73 74 61 74 | 69 63 20 66 75 6e 63 74 |....stat|ic funct|
|00004fc0| 69 6f 6e 20 46 69 6c 6c | 50 6c 61 79 49 6e 66 6f |ion Fill|PlayInfo|
|00004fd0| 28 50 6c 61 79 49 6e 66 | 6f 20 50 49 29 0d 0a 7b |(PlayInf|o PI)..{|
|00004fe0| 0d 0a 09 53 75 70 65 72 | 2e 46 69 6c 6c 50 6c 61 |...Super|.FillPla|
|00004ff0| 79 49 6e 66 6f 28 50 49 | 29 3b 0d 0a 0d 0a 09 50 |yInfo(PI|);.....P|
|00005000| 49 2e 41 64 64 53 65 74 | 74 69 6e 67 28 64 65 66 |I.AddSet|ting(def|
|00005010| 61 75 6c 74 2e 47 61 6d | 65 47 72 6f 75 70 2c 20 |ault.Gam|eGroup, |
|00005020| 20 22 62 45 6e 61 62 6c | 65 42 6f 74 74 6f 6d 46 | "bEnabl|eBottomF|
|00005030| 65 65 64 65 72 22 2c 20 | 64 65 66 61 75 6c 74 2e |eeder", |default.|
|00005040| 4d 75 74 50 72 6f 70 54 | 65 78 74 2c 20 34 30 2c |MutPropT|ext, 40,|
|00005050| 20 31 2c 20 22 43 68 65 | 63 6b 22 2c 2c 2c 2c 54 | 1, "Che|ck",,,,T|
|00005060| 72 75 65 29 3b 0d 0a 7d | 0d 0a 0d 0a 73 74 61 74 |rue);..}|....stat|
|00005070| 69 63 20 65 76 65 6e 74 | 20 73 74 72 69 6e 67 20 |ic event| string |
|00005080| 47 65 74 44 65 73 63 72 | 69 70 74 69 6f 6e 54 65 |GetDescr|iptionTe|
|00005090| 78 74 28 73 74 72 69 6e | 67 20 50 72 6f 70 4e 61 |xt(strin|g PropNa|
|000050a0| 6d 65 29 0d 0a 7b 0d 0a | 09 73 77 69 74 63 68 20 |me)..{..|.switch |
|000050b0| 28 50 72 6f 70 4e 61 6d | 65 29 0d 0a 09 7b 0d 0a |(PropNam|e)...{..|
|000050c0| 09 09 63 61 73 65 20 22 | 62 45 6e 61 62 6c 65 42 |..case "|bEnableB|
|000050d0| 6f 74 74 6f 6d 46 65 65 | 64 65 72 22 3a 09 72 65 |ottomFee|der":.re|
|000050e0| 74 75 72 6e 20 64 65 66 | 61 75 6c 74 2e 4d 75 74 |turn def|ault.Mut|
|000050f0| 44 65 73 63 54 65 78 74 | 3b 0d 0a 09 7d 0d 0a 0d |DescText|;...}...|
|00005100| 0a 09 72 65 74 75 72 6e | 20 53 75 70 65 72 2e 47 |..return| Super.G|
|00005110| 65 74 44 65 73 63 72 69 | 70 74 69 6f 6e 54 65 78 |etDescri|ptionTex|
|00005120| 74 28 50 72 6f 70 4e 61 | 6d 65 29 3b 0d 0a 7d 0d |t(PropNa|me);..}.|
|00005130| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 47 65 74 53 |...funct|ion GetS|
|00005140| 65 72 76 65 72 44 65 74 | 61 69 6c 73 28 6f 75 74 |erverDet|ails(out|
|00005150| 20 53 65 72 76 65 72 52 | 65 73 70 6f 6e 73 65 4c | ServerR|esponseL|
|00005160| 69 6e 65 20 53 65 72 76 | 65 72 53 74 61 74 65 29 |ine Serv|erState)|
|00005170| 0d 0a 7b 0d 0a 09 6c 6f | 63 61 6c 20 69 6e 74 20 |..{...lo|cal int |
|00005180| 69 3b 0d 0a 0d 0a 09 53 | 75 70 65 72 2e 47 65 74 |i;.....S|uper.Get|
|00005190| 53 65 72 76 65 72 44 65 | 74 61 69 6c 73 28 53 65 |ServerDe|tails(Se|
|000051a0| 72 76 65 72 53 74 61 74 | 65 29 3b 0d 0a 0d 0a 09 |rverStat|e);.....|
|000051b0| 69 20 3d 20 53 65 72 76 | 65 72 53 74 61 74 65 2e |i = Serv|erState.|
|000051c0| 53 65 72 76 65 72 49 6e | 66 6f 2e 4c 65 6e 67 74 |ServerIn|fo.Lengt|
|000051d0| 68 3b 0d 0a 09 53 65 72 | 76 65 72 53 74 61 74 65 |h;...Ser|verState|
|000051e0| 2e 53 65 72 76 65 72 49 | 6e 66 6f 2e 4c 65 6e 67 |.ServerI|nfo.Leng|
|000051f0| 74 68 20 3d 20 69 20 2b | 20 31 3b 0d 0a 09 53 65 |th = i +| 1;...Se|
|00005200| 72 76 65 72 53 74 61 74 | 65 2e 53 65 72 76 65 72 |rverStat|e.Server|
|00005210| 49 6e 66 6f 5b 69 5d 2e | 4b 65 79 20 3d 20 22 62 |Info[i].|Key = "b|
|00005220| 45 6e 61 62 6c 65 42 6f | 74 74 6f 6d 46 65 65 64 |EnableBo|ttomFeed|
|00005230| 65 72 22 3b 0d 0a 09 53 | 65 72 76 65 72 53 74 61 |er";...S|erverSta|
|00005240| 74 65 2e 53 65 72 76 65 | 72 49 6e 66 6f 5b 69 5d |te.Serve|rInfo[i]|
|00005250| 2e 56 61 6c 75 65 20 3d | 20 4c 6f 63 73 28 62 45 |.Value =| Locs(bE|
|00005260| 6e 61 62 6c 65 42 6f 74 | 74 6f 6d 46 65 65 64 65 |nableBot|tomFeede|
|00005270| 72 29 3b 0d 0a 7d 0d 0a | 0d 0a 00 |r);..}..|... |
+--------+-------------------------+-------------------------+--------+--------+